Documentation ¶ Index ¶ type Encoder func NewEncoder(wr io.Writer) *Encoder func (e *Encoder) Encode(v interface{}) error type Tag func NewTag() *Tag func ParseTag(s string) *Tag func (t *Tag) Get(key string) string func (t *Tag) Is(key string) bool func (t *Tag) Set(key, value string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Encoder ¶ type Encoder struct { // contains filtered or unexported fields } func NewEncoder ¶ func NewEncoder(wr io.Writer) *Encoder func (*Encoder) Encode ¶ func (e *Encoder) Encode(v interface{}) error type Tag ¶ type Tag struct { // contains filtered or unexported fields } func NewTag ¶ func NewTag() *Tag func ParseTag ¶ func ParseTag(s string) *Tag func (*Tag) Get ¶ func (t *Tag) Get(key string) string func (*Tag) Is ¶ func (t *Tag) Is(key string) bool func (*Tag) Set ¶ func (t *Tag) Set(key, value string) Source Files ¶ View all Source files encoder.go tag.go Click to show internal directories. Click to hide internal directories.