Documentation ¶
Index ¶
- func LoadDir(dir string, loader func(string) error) error
- func LoadMask(context interface{}, path string) (mask.Mask, error)
- func LoadRegex(context interface{}, path string) (regex.Regex, error)
- func LoadRelationship(context interface{}, path string) (relationship.Relationship, error)
- func LoadScript(context interface{}, path string) (script.Script, error)
- func LoadSet(context interface{}, path string) (*query.Set, error)
- func LoadView(context interface{}, path string) (view.View, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadDir ¶
LoadDir loadsup a given directory, calling a load function for each valid json file found.
func LoadMask ¶
LoadMask serializes the content of a Mask from a file using the given file path. Returns the serialized Mask value.
func LoadRegex ¶
LoadRegex serializes the content of a regex from a file using the given file path. Returns the serialized regex value.
func LoadRelationship ¶
func LoadRelationship(context interface{}, path string) (relationship.Relationship, error)
LoadRelationship serializes the content of a Relationship from a file using the given file path. Returns the serialized Relationship value.
func LoadScript ¶
LoadScript serializes the content of a Script from a file using the given file path. Returns the serialized Script value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.