models

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	ID        int64     `db:"id,primaryKey,autoIncrement"`
	Title     string    `db:"title"`
	CreatedAt time.Time `db:"created_at"`
	Status    string    `db:"status"`
}

func (*Task) AfterCreate

func (t *Task) AfterCreate(ctx context.Context) error

AfterCreate hook

func (*Task) BeforeCreate

func (t *Task) BeforeCreate(ctx context.Context) error

BeforeCreate hook

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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