Documentation ¶
Index ¶
- type Float32Slice
- type Float64Slice
- type Int16Slice
- type Int32Slice
- type Int64Slice
- type Int8Slice
- type IntSlice
- type NullBool
- type NullFloat32
- type NullFloat64
- type NullInt
- type NullInt16
- type NullInt32
- type NullInt64
- type NullInt8
- type NullString
- type NullTime
- type NullUInt
- type NullUInt16
- type NullUInt32
- type NullUInt64
- type NullUInt8
- type StringSlice
- type UInt16Slice
- type UInt32Slice
- type UInt64Slice
- type UInt8Slice
- type UIntSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float32Slice ¶
type Float32Slice struct {
Floats []float32
}
Float32Slice a comma separated float32
func (Float32Slice) MarshalJSON ¶
func (me Float32Slice) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*Float32Slice) Scan ¶
func (me *Float32Slice) Scan(value any) error
Scan implements the Scanner interface.
func (*Float32Slice) UnmarshalJSON ¶
func (me *Float32Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type Float64Slice ¶
type Float64Slice struct {
Floats []float64
}
Float64Slice a comma separated float64
func (Float64Slice) MarshalJSON ¶
func (me Float64Slice) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*Float64Slice) Scan ¶
func (me *Float64Slice) Scan(value any) error
Scan implements the Scanner interface.
func (*Float64Slice) UnmarshalJSON ¶
func (me *Float64Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type Int16Slice ¶
type Int16Slice struct {
Ints []int16
}
Int16Slice a comma separated int16
func (Int16Slice) MarshalJSON ¶
func (me Int16Slice) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*Int16Slice) Scan ¶
func (me *Int16Slice) Scan(value any) error
Scan implements the Scanner interface.
func (*Int16Slice) UnmarshalJSON ¶
func (me *Int16Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type Int32Slice ¶
type Int32Slice struct {
Ints []int32
}
Int32Slice a comma separated int32
func (Int32Slice) MarshalJSON ¶
func (me Int32Slice) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*Int32Slice) Scan ¶
func (me *Int32Slice) Scan(value any) error
Scan implements the Scanner interface.
func (*Int32Slice) UnmarshalJSON ¶
func (me *Int32Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type Int64Slice ¶
type Int64Slice struct {
Ints []int64
}
Int64Slice a comma separated int64
func (Int64Slice) MarshalJSON ¶
func (me Int64Slice) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*Int64Slice) Scan ¶
func (me *Int64Slice) Scan(value any) error
Scan implements the Scanner interface.
func (*Int64Slice) UnmarshalJSON ¶
func (me *Int64Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type Int8Slice ¶
type Int8Slice struct {
Ints []int8
}
Int8Slice a comma separated int8
func (Int8Slice) MarshalJSON ¶
MarshalJSON convert to json
func (*Int8Slice) UnmarshalJSON ¶
UnmarshalJSON parse from json
type IntSlice ¶
type IntSlice struct {
Ints []int
}
IntSlice a comma separated int
func (IntSlice) MarshalJSON ¶
MarshalJSON convert to json
func (*IntSlice) UnmarshalJSON ¶
UnmarshalJSON parse from json
type NullBool ¶
NullBool nullable string keeper
func (NullBool) MarshalJSON ¶
MarshalJSON convert to json
func (*NullBool) UnmarshalJSON ¶
UnmarshalJSON parse from json
type NullFloat32 ¶
NullFloat32 nullable string keeper
func (NullFloat32) MarshalJSON ¶
func (me NullFloat32) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*NullFloat32) Scan ¶
func (me *NullFloat32) Scan(value any) error
Scan implements the Scanner interface.
func (*NullFloat32) UnmarshalJSON ¶
func (me *NullFloat32) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type NullFloat64 ¶
NullFloat64 nullable string keeper
func (NullFloat64) MarshalJSON ¶
func (me NullFloat64) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*NullFloat64) Scan ¶
func (me *NullFloat64) Scan(value any) error
Scan implements the Scanner interface.
func (*NullFloat64) UnmarshalJSON ¶
func (me *NullFloat64) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type NullInt ¶
NullInt nullable string keeper
func (NullInt) MarshalJSON ¶
MarshalJSON convert to json
func (*NullInt) UnmarshalJSON ¶
UnmarshalJSON parse from json
type NullInt16 ¶
NullInt16 nullable string keeper
func (NullInt16) MarshalJSON ¶
MarshalJSON convert to json
func (*NullInt16) UnmarshalJSON ¶
UnmarshalJSON parse from json
type NullInt32 ¶
NullInt32 nullable string keeper
func (NullInt32) MarshalJSON ¶
MarshalJSON convert to json
func (*NullInt32) UnmarshalJSON ¶
UnmarshalJSON parse from json
type NullInt64 ¶
NullInt64 nullable string keeper
func (NullInt64) MarshalJSON ¶
MarshalJSON convert to json
func (*NullInt64) UnmarshalJSON ¶
UnmarshalJSON parse from json
type NullInt8 ¶
NullInt8 nullable string keeper
func (NullInt8) MarshalJSON ¶
MarshalJSON convert to json
func (*NullInt8) UnmarshalJSON ¶
UnmarshalJSON parse from json
type NullString ¶
NullString nullable string keeper
func (NullString) MarshalJSON ¶
func (me NullString) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*NullString) Scan ¶
func (me *NullString) Scan(value any) error
Scan implements the Scanner interface.
func (*NullString) UnmarshalJSON ¶
func (me *NullString) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type NullTime ¶
NullTime nullable string keeper
func (NullTime) MarshalJSON ¶
MarshalJSON convert to json
func (*NullTime) UnmarshalJSON ¶
UnmarshalJSON parse from json
type NullUInt ¶
NullUInt nullable string keeper
func (NullUInt) MarshalJSON ¶
MarshalJSON convert to json
func (*NullUInt) UnmarshalJSON ¶
UnmarshalJSON parse from json
type NullUInt16 ¶
NullUInt16 nullable string keeper
func (NullUInt16) MarshalJSON ¶
func (me NullUInt16) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*NullUInt16) Scan ¶
func (me *NullUInt16) Scan(value any) error
Scan implements the Scanner interface.
func (*NullUInt16) UnmarshalJSON ¶
func (me *NullUInt16) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type NullUInt32 ¶
NullUInt32 nullable string keeper
func (NullUInt32) MarshalJSON ¶
func (me NullUInt32) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*NullUInt32) Scan ¶
func (me *NullUInt32) Scan(value any) error
Scan implements the Scanner interface.
func (*NullUInt32) UnmarshalJSON ¶
func (me *NullUInt32) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type NullUInt64 ¶
NullUInt64 nullable string keeper
func (NullUInt64) MarshalJSON ¶
func (me NullUInt64) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*NullUInt64) Scan ¶
func (me *NullUInt64) Scan(value any) error
Scan implements the Scanner interface.
func (*NullUInt64) UnmarshalJSON ¶
func (me *NullUInt64) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type NullUInt8 ¶
NullUInt8 nullable string keeper
func (NullUInt8) MarshalJSON ¶
MarshalJSON convert to json
func (*NullUInt8) UnmarshalJSON ¶
UnmarshalJSON parse from json
type StringSlice ¶
type StringSlice struct {
Strings []string
}
StringSlice a comma separated string
func (StringSlice) MarshalJSON ¶
func (me StringSlice) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*StringSlice) Scan ¶
func (me *StringSlice) Scan(value any) error
Scan implements the Scanner interface.
func (*StringSlice) UnmarshalJSON ¶
func (me *StringSlice) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type UInt16Slice ¶
type UInt16Slice struct {
Ints []uint16
}
UInt16Slice a comma separated uint16
func (UInt16Slice) MarshalJSON ¶
func (me UInt16Slice) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*UInt16Slice) Scan ¶
func (me *UInt16Slice) Scan(value any) error
Scan implements the Scanner interface.
func (*UInt16Slice) UnmarshalJSON ¶
func (me *UInt16Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type UInt32Slice ¶
type UInt32Slice struct {
Ints []int32
}
UInt32Slice a comma separated int32
func (UInt32Slice) MarshalJSON ¶
func (me UInt32Slice) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*UInt32Slice) Scan ¶
func (me *UInt32Slice) Scan(value any) error
Scan implements the Scanner interface.
func (*UInt32Slice) UnmarshalJSON ¶
func (me *UInt32Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type UInt64Slice ¶
type UInt64Slice struct {
Ints []uint64
}
UInt64Slice a comma separated uint64
func (UInt64Slice) MarshalJSON ¶
func (me UInt64Slice) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*UInt64Slice) Scan ¶
func (me *UInt64Slice) Scan(value any) error
Scan implements the Scanner interface.
func (*UInt64Slice) UnmarshalJSON ¶
func (me *UInt64Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type UInt8Slice ¶
type UInt8Slice struct {
Ints []uint8
}
UInt8Slice a comma separated uint8
func (UInt8Slice) MarshalJSON ¶
func (me UInt8Slice) MarshalJSON() ([]byte, error)
MarshalJSON convert to json
func (*UInt8Slice) Scan ¶
func (me *UInt8Slice) Scan(value any) error
Scan implements the Scanner interface.
func (*UInt8Slice) UnmarshalJSON ¶
func (me *UInt8Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON parse from json
type UIntSlice ¶
type UIntSlice struct {
Ints []uint
}
UIntSlice a comma separated uint
func (UIntSlice) MarshalJSON ¶
MarshalJSON convert to json
func (*UIntSlice) UnmarshalJSON ¶
UnmarshalJSON parse from json
Source Files ¶
- bool.go
- float32.go
- float32slice.go
- float64.go
- float64slice.go
- int.go
- int16.go
- int16slice.go
- int32.go
- int32slice.go
- int64.go
- int64slice.go
- int8.go
- int8slice.go
- intslice.go
- string.go
- stringslice.go
- time.go
- uint.go
- uint16.go
- uint16slice.go
- uint32.go
- uint32slice.go
- uint64.go
- uint64slice.go
- uint8.go
- uint8slice.go
- uintslice.go