Documentation ¶
Index ¶
- type Person
- func (z *Person) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *Person) EncodeMsg(en *msgp.Writer) (err error)
- func (v Person) MarshalEasyJSON(w *jwriter.Writer)
- func (v Person) MarshalJSON() ([]byte, error)
- func (z *Person) MarshalMsg(b []byte) (o []byte, err error)
- func (z *Person) Msgsize() (s int)
- func (v *Person) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Person) UnmarshalJSON(data []byte) error
- func (z *Person) UnmarshalMsg(bts []byte) (o []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Person ¶
type Person struct { DocId uint32 Position string Company string City string SchoolLevel int32 Vip bool Chat bool Active int32 WorkAge int32 }
func (Person) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Person) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Person) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Person) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Person) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Person) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.