Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFileParser ¶
Create a new instance of a file parser that satisfies the parser interface.
Types ¶
type FileParser ¶
type FileParser struct {
// contains filtered or unexported fields
}
A parser that reads data from the filesystem.
func (FileParser) Substitutions ¶
func (fp FileParser) Substitutions() map[string]string
Substitutions gets all known sort code substitutions.
func (FileParser) Weights ¶
func (fp FileParser) Weights() map[string]m.SortCodeData
Weights gets the weights, exception information and algorithm to use for all known sort codes.
type LineRecord ¶
type LineRecord struct {
// contains filtered or unexported fields
}
Describes the content of a file.
Click to show internal directories.
Click to hide internal directories.