Documentation ¶
Index ¶
- Variables
- func TemplateWithContext(ctx context.Context, t Template) context.Context
- type Field
- type Func
- type Map
- func (m Map) Codec(typ string) big.Codec
- func (m Map) Decode(ctx context.Context, key string, o big.Struct) error
- func (m Map) Encode(ctx context.Context, key string, o big.Struct) error
- func (m Map) GoString() string
- func (m Map) Keys() []string
- func (m Map) Register(name string, priority int, c big.Codec) Map
- func (m Map) RegisterMap(name string, priority int, cm Map) Map
- func (m Map) String() string
- func (m Map) Walk(fn Func) error
- func (m Map) WriteTab(w io.Writer) (n int64, err error)
- func (m Map) WriteTo(w io.Writer) (int64, error)
- type Recursive
- type Struct
- type Template
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = make(Map)
View Source
var DefaultField = Default. RegisterMap("field", 50, make(Map))
View Source
var DefaultStruct = Default. RegisterMap("struct", 100, make(Map))
View Source
var DefaultTemplate = make(Map)
View Source
var DefaultTemplateField = DefaultTemplate. RegisterMap("field", 50, make(Map))
Functions ¶
Types ¶
type Struct ¶
Click to show internal directories.
Click to hide internal directories.