property

package
v0.0.0-...-fb5fdcc Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status uint8

Status 通用的状态码

const (
	WaitLoaded   Status = 0
	FinishLoaded Status = 1
)

func (*Status) Scan

func (p *Status) Scan(val interface{}) error

Scan tells our code how to read the enum into our type.

func (Status) String

func (p Status) String() string

func (Status) Value

func (p Status) Value() (driver.Value, error)

Value provides the DB a string from int.

func (Status) Values

func (Status) Values() []string

Values provides list valid values for Enum.

Jump to

Keyboard shortcuts

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