Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinStr ¶
func JoinStr(strs []NullString, sep string) string
Types ¶
type NullFloat64 ¶
type NullFloat64 struct {
sql.NullFloat64
}
func NewNullFloat64 ¶
func NewNullFloat64(data float64, zeroNull bool) NullFloat64
func (*NullFloat64) IsZero ¶
func (v *NullFloat64) IsZero() bool
func (*NullFloat64) MarshalJSON ¶
func (v *NullFloat64) MarshalJSON() ([]byte, error)
func (*NullFloat64) SetZeroNoNull ¶
func (v *NullFloat64) SetZeroNoNull()
func (*NullFloat64) SetZeroNull ¶
func (v *NullFloat64) SetZeroNull()
func (*NullFloat64) UnmarshalJSON ¶
func (v *NullFloat64) UnmarshalJSON(data []byte) error
type NullInt64 ¶
func NewNullInt64 ¶
func (*NullInt64) MarshalJSON ¶
func (*NullInt64) SetZeroNoNull ¶
func (v *NullInt64) SetZeroNoNull()
func (*NullInt64) SetZeroNull ¶
func (v *NullInt64) SetZeroNull()
func (*NullInt64) UnmarshalJSON ¶
type NullString ¶
type NullString struct {
sql.NullString
}
func NewNullString ¶
func NewNullString(data string, emptyNull bool) NullString
func (*NullString) IsEmpty ¶
func (v *NullString) IsEmpty() bool
func (*NullString) MarshalJSON ¶
func (v *NullString) MarshalJSON() ([]byte, error)
func (*NullString) SetEmptyNoNull ¶
func (v *NullString) SetEmptyNoNull()
func (*NullString) SetEmptyNull ¶
func (v *NullString) SetEmptyNull()
func (*NullString) UnmarshalJSON ¶
func (v *NullString) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.