Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OurNewNullString ¶
type OurNewNullString sql.NullString
Because sql.NullString is not serializable We create new similar type
func (OurNewNullString) MarshalJSON ¶
func (ourNS OurNewNullString) MarshalJSON() ([]byte, error)
for JSON serialization
func (*OurNewNullString) Scan ¶
func (s *OurNewNullString) Scan(dbValue interface{}) error
For Selects
func (*OurNewNullString) UnmarshalJSON ¶
func (ourNS *OurNewNullString) UnmarshalJSON(text []byte) error
for JSON deserialization
Click to show internal directories.
Click to hide internal directories.