blueprint

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blueprint

type Blueprint struct {
	bun.BaseModel `bun:"table:blueprints"`

	ID        string    `bun:"id,pk,type:uuid"`
	CreatedAt time.Time `bun:"created_at,notnull,default:now()"`
	UpdatedAt time.Time `bun:"updated_at,notnull,default:now()"`

	Name string `bun:"name,notnull"`
}

type Repository

type Repository struct {
	// contains filtered or unexported fields
}

func New

func New(db *bun.DB) *Repository

func (*Repository) Insert

func (r *Repository) Insert(ctx context.Context, m *Blueprint) error

Jump to

Keyboard shortcuts

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