date

package
v0.0.0-...-90567dc Latest Latest
Warning

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

Go to latest
Published: Dec 16, 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) FindOneByPKStmt

func (v User) FindOneByPKStmt() (string, []any)

func (User) GetBirthDate

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

func (User) GetID

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

func (User) HasPK

func (User) HasPK()

func (User) InsertOneStmt

func (v User) InsertOneStmt() (string, []any)

func (User) InsertPlaceholders

func (User) InsertPlaceholders(row int) string

func (User) PK

func (v User) PK() (string, int, any)

func (User) TableName

func (User) TableName() string

func (User) UpdateOneByPKStmt

func (v User) UpdateOneByPKStmt() (string, []any)

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