models

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

type Template struct {
	ID        int         `db:"id" json:"id"`
	CreatedAt time.Time   `db:"created_at" json:"created_at"`
	UpdatedAt time.Time   `db:"updated_at" json:"updated_at"`
	Type      string      `db:"type" json:"type"`
	Name      string      `db:"name" json:"name"`
	Subject   null.String `db:"subject" json:"subject"`
	Body      string      `db:"body" json:"body"`
	IsDefault bool        `db:"is_default" json:"is_default"`
	IsBuiltIn bool        `db:"is_builtin" json:"is_builtin"`
}

Jump to

Keyboard shortcuts

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