Documentation
¶
Overview ¶
Package yamldoc reads the one YAML document of a permission list, and source lines out of YAML errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Document ¶
Document returns the YAML document of the permission list data read from path, or an empty node when data holds none. It refuses with E-MAN-003 at path:line data that is not valid YAML, that holds more than one document, or that uses an anchor, an alias or a merge key, which it reports on every line that holds one. Its error unwraps, with Unwrap() []error, to the coded errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.