Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NullString ¶
type NullString struct {
sql.NullString
}
NullString is an alias for mysql.NullTime data type
func (NullString) MarshalJSON ¶
func (ns NullString) MarshalJSON() ([]byte, error)
MarshalJSON for NullString
func (*NullString) SetNull ¶
func (ns *NullString) SetNull()
SetNull sets the Valied filed to fals and zeros the string
func (*NullString) SetString ¶
func (ns *NullString) SetString(str string)
SetString sets valid to tru and sets string field TODO: test these...
type NullTime ¶
NullTime is an alias for mysql.NullTime data type
func (NullTime) MarshalJSON ¶
MarshalJSON for NullTime
Click to show internal directories.
Click to hide internal directories.