Documentation
¶
Index ¶
Constants ¶
View Source
const ( Separator rune = '=' Comment rune = '#' )
Pre-defined separator and comment character
Variables ¶
View Source
var ( ErrWords error = errors.New("error in words source") ErrWordsEmpty error = errors.New("words source is empty") ErrWordsNil error = errors.New("words is nil") ErrNameNotPresent error = errors.New("name not present in record") ErrNameDuplicated error = errors.New("duplicated name found") ErrSameSeparatorAndComment error = errors.New("separator and comment are same character") ErrSeparatorNotPresent error = errors.New("separator not present in record") ErrSeparatorIsInvalid error = errors.New("separator character is invalid, the separator parameter must be one character delimiter of (=|:;,.?@)") ErrCommentIsInvalid error = errors.New("comment character is invalid, the comment parameter must be one character delimiter of (#|:;,.?@)") ErrLineEmpty error = errors.New("line is empty") ErrLineComment error = errors.New("line is comment") ErrFileNil error = errors.New("file is nil") ErrFileEmpty error = errors.New("file is empty") ErrSuffixIsInvalid error = errors.New("suffix is invalid") )
Errors for parsing source string and validations
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.