Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Parser ¶
type Parser struct {
ParseEnv bool
ParseBacktick bool
ParseComment bool
Position int
Dir string
// If ParseEnv is true, use this for getenv.
// If nil, use os.Getenv.
Getenv func(string) string
// contains filtered or unexported fields
}
func (*Parser) ExcludedSeparators ¶ added in v1.0.14
ExcludedSeparators returns excluded separators
func (*Parser) ParseWithEnvs ¶ added in v1.0.11
func (*Parser) SetExcludeSeparators ¶ added in v1.0.14
SetExcludeSeparators indicates the parser to ignore provided separators when parsing example: parser.SetExcludeSeparators(';','\t')
Click to show internal directories.
Click to hide internal directories.