Documentation
¶
Index ¶
- Constants
- func ErrDecodeYaml(err error) error
- func ErrUnmarshal(err error) error
- func ErrUnmarshalInvalid(err error, typ reflect.Type) error
- func ErrUnmarshalSyntax(err error, offset int64) error
- func ErrUnmarshalType(err error, value string) error
- func ErrUnmarshalUnsupportedType(err error, typ reflect.Type) error
- func ErrUnmarshalUnsupportedValue(err error, value reflect.Value) error
- func Marshal(in interface{}) ([]byte, error)
- func ToYaml(data []byte) ([]byte, error)
- func Unmarshal(data []byte, out interface{}) error
Constants ¶
View Source
const ( ErrDecodeYamlCode = "meshkit-11245" ErrUnmarshalCode = "meshkit-11246" ErrUnmarshalInvalidCode = "meshkit-11247" ErrUnmarshalSyntaxCode = "meshkit-11248" ErrUnmarshalTypeCode = "meshkit-11249" ErrUnmarshalUnsupportedTypeCode = "meshkit-11250" ErrUnmarshalUnsupportedValueCode = "meshkit-11251" )
Variables ¶
This section is empty.
Functions ¶
func ErrDecodeYaml ¶
ErrDecodeYaml is the error when the yaml unmarshal fails
func ErrUnmarshal ¶
func ErrUnmarshalSyntax ¶
func ErrUnmarshalType ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.