package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Oct 16, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type APITokens struct {
ID int64 `sql:"primary_key" db:"id"`
CustomerID uuid.UUID `db:"customer_id"`
Label string `db:"label"`
Secret []byte `db:"secret"`
CreatedAt time.Time `db:"created_at"`
RevokedAt *time.Time `db:"revoked_at"`
}
type Orders struct {
ID int64 `sql:"primary_key" db:"id"`
CustomerID uuid.UUID `db:"customer_id"`
Status string `db:"status"`
TotalCents int32 `db:"total_cents"`
Tags []string `db:"tags"`
Paid bool `db:"paid"`
ShippedAt *time.Time `db:"shipped_at"`
CreatedAt time.Time `db:"created_at"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.