Documentation
¶
Index ¶
- type Student
- func (z *Student) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *Student) EncodeMsg(en *msgp.Writer) (err error)
- func (v Student) MarshalEasyJSON(w *jwriter.Writer)
- func (v Student) MarshalJSON() ([]byte, error)
- func (z *Student) MarshalMsg(b []byte) (o []byte, err error)
- func (z *Student) Msgsize() (s int)
- func (v *Student) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Student) UnmarshalJSON(data []byte) error
- func (z *Student) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Student1
- func (z *Student1) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *Student1) EncodeMsg(en *msgp.Writer) (err error)
- func (v Student1) MarshalEasyJSON(w *jwriter.Writer)
- func (v Student1) MarshalJSON() ([]byte, error)
- func (z *Student1) MarshalMsg(b []byte) (o []byte, err error)
- func (z *Student1) Msgsize() (s int)
- func (v *Student1) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Student1) UnmarshalJSON(data []byte) error
- func (z *Student1) UnmarshalMsg(bts []byte) (o []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Student ¶
type Student struct {
BirthDay time.Time
Phone string
Siblings int
Spouse bool
Money float64
Tags map[string]string
Payload []byte
Stu *Student1
//Spouse bool
//Money float64
//Tags map[string]string
Aliases []string
Name string
Age uint8
Address []string
Data string
//Payload []byte
Ssid []uint32
}
func (Student) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Student) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Student) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Student) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Student) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Student) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Student1 ¶
func (Student1) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Student1) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Student1) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Student1) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Student1) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Student1) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface