Documentation
¶
Index ¶
- type MyStruct
- func (n MyStruct) MarshalCQL(info gocql.TypeInfo) ([]byte, error)
- func (v MyStruct) MarshalEasyJSON(w *jwriter.Writer)
- func (v MyStruct) MarshalJSON() ([]byte, error)
- func (n *MyStruct) Scan(value interface{}) error
- func (n *MyStruct) UnmarshalCQL(info gocql.TypeInfo, data []byte) error
- func (v *MyStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *MyStruct) UnmarshalJSON(data []byte) error
- func (n MyStruct) Value() (driver.Value, error)
- type MyStruct2
- type MyStruct3
- type NullMyStruct
- func (n NullMyStruct) IsValid() bool
- func (n NullMyStruct) MarshalCQL(info gocql.TypeInfo) ([]byte, error)
- func (n NullMyStruct) MarshalEasyJSON(out *jwriter.Writer)
- func (n NullMyStruct) MarshalJSON() ([]byte, error)
- func (n *NullMyStruct) Scan(value interface{}) error
- func (n *NullMyStruct) UnmarshalCQL(info gocql.TypeInfo, data []byte) error
- func (n *NullMyStruct) UnmarshalEasyJSON(in *jlexer.Lexer)
- func (n *NullMyStruct) UnmarshalJSON(data []byte) error
- func (n NullMyStruct) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyStruct ¶
func (MyStruct) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (MyStruct) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*MyStruct) UnmarshalCQL ¶
func (*MyStruct) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*MyStruct) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type MyStruct2 ¶
type MyStruct2 struct { Val1 NullMyStruct Val2 MyStruct Val3 NullMyStruct Val4 MyStruct }
func (MyStruct2) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (MyStruct2) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*MyStruct2) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*MyStruct2) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type MyStruct3 ¶
type MyStruct3 struct { Val1 NullMyStruct Val2 MyStruct Val3 NullMyStruct Val4 MyStruct }
Struct for test jsoniter encoding Because easyjson generates marshallers for encode/decode and original jsoniter registered functions not used
type NullMyStruct ¶
NullMyStruct - generated for NullMyStruct
func NanMyStruct ¶
func NanMyStruct(v MyStruct) NullMyStruct
func (NullMyStruct) IsValid ¶
func (n NullMyStruct) IsValid() bool
func (NullMyStruct) MarshalCQL ¶
func (n NullMyStruct) MarshalCQL(info gocql.TypeInfo) ([]byte, error)
MarshalCQL - marshaller for cql
func (NullMyStruct) MarshalEasyJSON ¶
func (n NullMyStruct) MarshalEasyJSON(out *jwriter.Writer)
MarshalEasyJSON - marshaller for easyjson
func (NullMyStruct) MarshalJSON ¶
func (n NullMyStruct) MarshalJSON() ([]byte, error)
MarshalJSON - marshaller for json
func (*NullMyStruct) Scan ¶
func (n *NullMyStruct) Scan(value interface{}) error
Scan - scan value from sql driver
func (*NullMyStruct) UnmarshalCQL ¶
func (n *NullMyStruct) UnmarshalCQL(info gocql.TypeInfo, data []byte) error
UnmarshalCQL - unmarshaller for cql
func (*NullMyStruct) UnmarshalEasyJSON ¶
func (n *NullMyStruct) UnmarshalEasyJSON(in *jlexer.Lexer)
UnmarshalEasyJSON - unmarshaller for easyjson
func (*NullMyStruct) UnmarshalJSON ¶
func (n *NullMyStruct) UnmarshalJSON(data []byte) error
UnmarshalJSON - unmarshaller for json