models

package
v1.0.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQLNullInt32

type MySQLNullInt32 struct {
	sql.NullInt32
}

MySQLNullInt32 ...

func (MySQLNullInt32) MarshalJSON

func (t MySQLNullInt32) MarshalJSON() ([]byte, error)

MarshalJSON for MySQLNullInt32

type MySQLNullInt64

type MySQLNullInt64 struct {
	sql.NullInt64
}

MySQLNullInt64 ...

func (MySQLNullInt64) MarshalJSON

func (t MySQLNullInt64) MarshalJSON() ([]byte, error)

MarshalJSON for MySQLNullInt64

type MySQLNullString

type MySQLNullString struct {
	sql.NullString
}

MySQLNullString ...

func (MySQLNullString) MarshalJSON

func (nt MySQLNullString) MarshalJSON() ([]byte, error)

MarshalJSON for MySQLNullString

func (*MySQLNullString) UnmarshalJSON

func (nt *MySQLNullString) UnmarshalJSON(b []byte) error

UnmarshalJSON for MySQLNullString

type MySQLNullTime

type MySQLNullTime struct {
	mysql.NullTime
}

MySQLNullTime is an alias for mysql.NullTime data type

func (MySQLNullTime) MarshalJSON

func (nt MySQLNullTime) MarshalJSON() ([]byte, error)

MarshalJSON for MySQLNullTime

func (*MySQLNullTime) UnmarshalJSON

func (nt *MySQLNullTime) UnmarshalJSON(b []byte) error

UnmarshalJSON for MySQLNullTime

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL