Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MarshalerFunc ¶
func (MarshalerFunc) Marshal ¶
func (m MarshalerFunc) Marshal(v interface{}) ([]byte, error)
type Marshaling ¶
type Marshaling interface { Marshaler Unmarshaler }
func JSON ¶
func JSON() Marshaling
func New ¶
func New(m Marshaler, u Unmarshaler) Marshaling
type Unmarshaler ¶
type UnmarshalerFunc ¶
func (UnmarshalerFunc) Unmarshal ¶
func (f UnmarshalerFunc) Unmarshal(bs []byte, value interface{}) error
Click to show internal directories.
Click to hide internal directories.