date

package
v0.0.0-...-b5240c2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 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) AlterTableStmt

func (User) AlterTableStmt() string

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 (v 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 (v 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