Documentation ¶
Index ¶
- func BoolToPtr(b bool) *bool
- func CallKey(v reflect.Value) string
- func HandleParseErrors(rawConfig []byte, to interface{}) (report.Report, error)
- func IntToPtr(x int) *int
- func IsInvalidInConfig(k reflect.Kind) bool
- func IsPrimitive(k reflect.Kind) bool
- func NilOrEmpty(s *string) bool
- func NotEmpty(s *string) bool
- func StrToPtr(s string) *string
- type IgnoresDups
- type Keyed
- type MergesKeys
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleParseErrors ¶
HandleParseErrors will attempt to unmarshal an invalid rawConfig into "to". If it fails to unmarsh it will generate a report.Report from the errors.
func IsInvalidInConfig ¶
func IsPrimitive ¶
func NilOrEmpty ¶
Types ¶
type IgnoresDups ¶
type IgnoresDups interface {
IgnoreDuplicates() map[string]struct{}
}
type MergesKeys ¶
Click to show internal directories.
Click to hide internal directories.