ynenum

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const EnumNo = "N"
View Source
const EnumYes = "Y"

Variables

This section is empty.

Functions

This section is empty.

Types

type YNEnum

type YNEnum bool

func (*YNEnum) Scan

func (dbd *YNEnum) Scan(src interface{}) (err error)

Scan scans the time parsing it if necessary using timeFormat.

func (YNEnum) String

func (dbd YNEnum) String() string

func (YNEnum) Value

func (dbd YNEnum) Value() (driver.Value, error)

Value returns the time as string.

func (YNEnum) Yes

func (dbd YNEnum) Yes() bool

Jump to

Keyboard shortcuts

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