mysql

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 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 MyUuid

type MyUuid uuid.UUID

func NewMyUuid

func NewMyUuid() MyUuid

func (*MyUuid) Bytes

func (u *MyUuid) Bytes() []byte

func (*MyUuid) IsEmpty

func (u *MyUuid) IsEmpty() bool

func (MyUuid) MarshalJSON

func (u MyUuid) MarshalJSON() ([]byte, error)

MarshalJSON string json conversion from variable of uuid type

func (*MyUuid) Scan

func (u *MyUuid) Scan(src interface{}) error

Scan implements the sql.Scanner interface. A 16-byte slice is handled by UnmarshalBinary, while a longer byte slice or a string is handled by UnmarshalText.

func (*MyUuid) SetFromByte

func (u *MyUuid) SetFromByte(id []byte) error

func (*MyUuid) SetFromString

func (u *MyUuid) SetFromString(id string) error

func (*MyUuid) String

func (u *MyUuid) String() string

func (*MyUuid) UnmarshalJSON

func (u *MyUuid) UnmarshalJSON(b []byte) error

UnmarshalJSON variable of uuid type from string json conversion

func (MyUuid) Value

func (u MyUuid) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

Jump to

Keyboard shortcuts

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