date

package
v0.0.0-...-dbd6b0d Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID        uuid.UUID `sql:",pk"`
	BirthDate civil.Date
}

func (*User) Addrs

func (v *User) Addrs() []any

func (User) Columns

func (User) Columns() []string

func (User) CreateTableStmt

func (v User) CreateTableStmt() string

func (User) FindByPKStmt

func (v User) FindByPKStmt() string

func (User) GetBirthDate

func (v User) GetBirthDate() sequel.ColumnValuer[civil.Date]

func (User) GetID

func (v User) GetID() sequel.ColumnValuer[uuid.UUID]

func (User) InsertOneStmt

func (User) InsertOneStmt() string

func (User) InsertVarQuery

func (User) InsertVarQuery() string

func (User) PK

func (v User) PK() (columnName string, pos int, value driver.Value)

func (User) TableName

func (User) TableName() string

func (User) UpdateByPKStmt

func (User) UpdateByPKStmt() string

func (User) Values

func (v User) Values() []any

Jump to

Keyboard shortcuts

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