Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File interface { GetType() string SetType(string) error SetRecord(lib.Record) error AddDataRecord(lib.Record) error GetRecord(string) (lib.Record, error) GetDataRecords() []lib.Record GeneratorTrailer() (lib.Record, error) Parse(record []byte) error Bytes() []byte String(newline bool) string ConcurrentString(newline bool, goroutines int) string Validate() error }
General file interface
func CreateFile ¶
CreateFile attempts to parse raw metro2 or json
type Reader ¶ added in v0.5.0
type Reader struct { // file is metro2 file model being built as r is parsed. File File // contains filtered or unexported fields }
Reader reads records from a metro2 encoded file.
Click to show internal directories.
Click to hide internal directories.