Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidDefinition ¶
IsValidDefinition returns whether or not the given file is a valid definition
func ParseDefinitionFile ¶
func ParseDefinitionFile(r io.Reader) (d types.Definition, err error)
ParseDefinitionFile receives a reader from a definition file and parse it into a Definition struct or return error if the definition file has a bad section.
func WriteDefinitionFile ¶
func WriteDefinitionFile(d *types.Definition, w io.Writer)
WriteDefinitionFile is a helper func to output a Definition struct into a definition file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.