Documentation ¶
Index ¶
- Constants
- Variables
- type Codec
- type Error
- type Field
- type FieldMap
- type Fields
- func (f *Fields) Append(key string, s Struct) error
- func (f *Fields) AppendIf(key string, s Struct) error
- func (f Fields) At(i int) Field
- func (f Fields) Copy() Fields
- func (f Fields) Keys() []string
- func (f Fields) Len() int
- func (f Fields) Less(i, j int) bool
- func (f Fields) Map() FieldMap
- func (f Fields) Merge() Struct
- func (f Fields) Sort() Fields
- func (f Fields) String() string
- func (f Fields) Struct() Struct
- func (f Fields) Swap(i, j int)
- func (f Fields) WriteTab(w io.Writer) (n int64, err error)
- func (f Fields) WriteTo(w io.Writer) (int64, error)
- type Func
- type Struct
- func (s Struct) At(key string) Struct
- func (s Struct) Copy() Struct
- func (s Struct) Decode(ctx context.Context, c Codec) error
- func (s Struct) Encode(ctx context.Context, c Codec) error
- func (s Struct) Fields() Fields
- func (s Struct) ForEach(fn Func) error
- func (s Struct) Keys() []string
- func (s Struct) Merge(u Struct) Struct
- func (s Struct) Move(key string, u Struct) error
- func (s Struct) Put(key string, fn Func) error
- func (s Struct) Raw() Struct
- func (s Struct) ReverseWalk(fn Func) error
- func (s Struct) Schema() Struct
- func (s Struct) Shake() Struct
- func (s Struct) ShakeTypes() Struct
- func (s Struct) String() string
- func (s Struct) Sub(u Struct) Struct
- func (s Struct) TypeAt(key string) string
- func (s Struct) Value() interface{}
- func (s Struct) ValueAt(key string) interface{}
- func (s Struct) Walk(fn Func) error
- func (s Struct) WriteTab(w io.Writer) (n int64, err error)
- func (s Struct) WriteTo(w io.Writer) (int64, error)
Constants ¶
View Source
const Prefix = "/"
Variables ¶
View Source
var NoValue null
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Struct ¶
type Struct map[string]struct { Type string `json:"type,omitempty" yaml:"type,omitempty"` Value interface{} `json:"value,omitempty" yaml:"value,omitempty"` Children Struct `json:"children,omitempty" yaml:"children,omitempty"` }
func (Struct) ReverseWalk ¶
func (Struct) ShakeTypes ¶
Click to show internal directories.
Click to hide internal directories.