Documentation ¶
Overview ¶
This file has been generated from 'fold_map_inline.yml', do not edit
This file has been generated from 'fold_refl_sel.yml', do not edit
This file has been generated from 'stacks.yml', do not edit
This file has been generated from 'unfold_arr.yml', do not edit
This file has been generated from 'unfold_err.yml', do not edit
This file has been generated from 'unfold_ignore.yml', do not edit
This file has been generated from 'unfold_lookup_go.yml', do not edit
This file has been generated from 'unfold_map.yml', do not edit
This file has been generated from 'unfold_primitive.yml', do not edit
This file has been generated from 'unfold_refl.yml', do not edit
Index ¶
- func Fold(v interface{}, vs structform.Visitor, opts ...Option) error
- type Folder
- type Iterator
- type Option
- type Unfolder
- func (u *Unfolder) EnableKeyCache(max int)
- func (u *Unfolder) OnArrayFinished() error
- func (u *Unfolder) OnArrayStart(len int, baseType structform.BaseType) error
- func (u *Unfolder) OnBool(b bool) error
- func (u *Unfolder) OnByte(b byte) error
- func (u *Unfolder) OnFloat32(f float32) error
- func (u *Unfolder) OnFloat64(f float64) error
- func (u *Unfolder) OnInt(i int) error
- func (u *Unfolder) OnInt16(i int16) error
- func (u *Unfolder) OnInt32(i int32) error
- func (u *Unfolder) OnInt64(i int64) error
- func (u *Unfolder) OnInt8(i int8) error
- func (u *Unfolder) OnKey(s string) error
- func (u *Unfolder) OnKeyRef(s []byte) error
- func (u *Unfolder) OnNil() error
- func (u *Unfolder) OnObjectFinished() error
- func (u *Unfolder) OnObjectStart(len int, baseType structform.BaseType) error
- func (u *Unfolder) OnString(s string) error
- func (u *Unfolder) OnStringRef(s []byte) error
- func (u *Unfolder) OnUint(v uint) error
- func (u *Unfolder) OnUint16(v uint16) error
- func (u *Unfolder) OnUint32(v uint32) error
- func (u *Unfolder) OnUint64(v uint64) error
- func (u *Unfolder) OnUint8(v uint8) error
- func (u *Unfolder) SetTarget(to interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
func NewIterator ¶
type Unfolder ¶
type Unfolder struct {
// contains filtered or unexported fields
}
func NewUnfolder ¶
func (*Unfolder) EnableKeyCache ¶
func (*Unfolder) OnArrayFinished ¶
func (u *Unfolder) OnArrayFinished() error
func (*Unfolder) OnArrayStart ¶
func (u *Unfolder) OnArrayStart(len int, baseType structform.BaseType) error
func (*Unfolder) OnObjectFinished ¶
func (u *Unfolder) OnObjectFinished() error
func (*Unfolder) OnObjectStart ¶
func (u *Unfolder) OnObjectStart(len int, baseType structform.BaseType) error
func (*Unfolder) OnStringRef ¶
Source Files ¶
- 0gen.go
- buffer.go
- defs.go
- error.go
- fold.go
- fold_arr.go
- fold_inline.go
- fold_map.go
- fold_map_inline.generated.go
- fold_primitives.go
- fold_refl_sel.generated.go
- fold_reflect.go
- fold_user.go
- opts.go
- stacks.generated.go
- symbols.go
- tags.go
- unfold.go
- unfold_arr.generated.go
- unfold_err.generated.go
- unfold_ignore.generated.go
- unfold_lookup.go
- unfold_lookup_go.generated.go
- unfold_map.generated.go
- unfold_primitive.generated.go
- unfold_refl.generated.go
- unfold_refl.go
- unfold_struct.go