Documentation
¶
Index ¶
- func LoadFromEnv(prefix string, out interface{}) error
- func LoadFromPath(path string, out interface{}, schema []byte) error
- func LoadJSON(in []byte, out interface{}, schema []byte) error
- func LoadJSONFromPath(path string, out interface{}, schema []byte) error
- func LoadYAML(in []byte, out interface{}, schema []byte) error
- func LoadYAMLFromPath(path string, out interface{}, schema []byte) error
- type FileNotFoundError
- type SchemaValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadFromEnv ¶
func LoadFromPath ¶
func LoadJSONFromPath ¶
func LoadYAMLFromPath ¶
Types ¶
type FileNotFoundError ¶
type FileNotFoundError struct {
E string
}
func (FileNotFoundError) Error ¶
func (e FileNotFoundError) Error() string
func (FileNotFoundError) Is ¶
func (e FileNotFoundError) Is(target error) bool
type SchemaValidationError ¶
type SchemaValidationError struct {
Result *gojsonschema.Result
}
func (SchemaValidationError) Error ¶
func (e SchemaValidationError) Error() string
func (SchemaValidationError) Is ¶
func (e SchemaValidationError) Is(target error) bool
Click to show internal directories.
Click to hide internal directories.