files

package
v0.0.0-...-170b523 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScanner

func NewScanner(s scanner.Scanner, bs []byte) (*token.FileSet, scanner.Scanner)

func OpenDataFile

func OpenDataFile(fn string) (*os.File, int64)

OpenDataFile: Opens the file and returns the file pointer or dies trying. OpenDataFile: returns the size of the file along with the file pointer.

func OpenDescriptionFile

func OpenDescriptionFile(f string) ([]byte, error)

This function returns the description file in a byte array for processing or returns nil if it can't open the file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL