Documentation
¶
Index ¶
- type Float64
- func (f Float64) MarshalJSON() ([]byte, error)
- func (f Float64) MarshalText() ([]byte, error)
- func (f Float64) MarshalXML(e *xml.Encoder, start xml.StartElement) error
- func (f *Float64) UnmarshalJSON(data []byte) error
- func (f *Float64) UnmarshalText(data []byte) (err error)
- func (f *Float64) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
- type Int64
- func (i Int64) MarshalJSON() ([]byte, error)
- func (i Int64) MarshalText() ([]byte, error)
- func (i Int64) MarshalXML(e *xml.Encoder, start xml.StartElement) error
- func (i *Int64) UnmarshalJSON(data []byte) error
- func (i *Int64) UnmarshalText(data []byte) (err error)
- func (i *Int64) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
- type String
- func (s String) MarshalJSON() ([]byte, error)
- func (s String) MarshalText() ([]byte, error)
- func (s String) MarshalXML(e *xml.Encoder, start xml.StartElement) error
- func (s *String) UnmarshalJSON(data []byte) error
- func (s *String) UnmarshalText(data []byte) (err error)
- func (s *String) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float64 ¶
type Float64 struct {
sql.NullFloat64
}
Float64 represents a float64 that may be null.
func NewFloat64Ptr ¶
NewFloat64Ptr creates a new Float64 pointer.
func (Float64) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (Float64) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (Float64) MarshalXML ¶
MarshalXML implements the xml.Marshaler interface.
func (*Float64) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (*Float64) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
func (*Float64) UnmarshalXML ¶
UnmarshalXML implements the xml.Unmarshaler interface.
type Int64 ¶
Int64 represents a int64 that may be null.
func (Int64) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (Int64) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (Int64) MarshalXML ¶
MarshalXML implements the xml.Marshaler interface.
func (*Int64) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (*Int64) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
func (*Int64) UnmarshalXML ¶
UnmarshalXML implements the xml.Unmarshaler interface.
type String ¶
type String struct {
sql.NullString
}
String represents a string that may be null.
func (String) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (String) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (String) MarshalXML ¶
MarshalXML implements the xml.Marshaler interface.
func (*String) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (*String) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
func (*String) UnmarshalXML ¶
UnmarshalXML implements the xml.Unmarshaler interface.