model

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	ID        uint           `gorm:"primarykey" goal:"<number>primary,sortable,asc,filter,uint"`
	CreatedAt time.Time      `goal:"<calendar>autowired"`
	UpdatedAt time.Time      `goal:"<calendar>autowired"`
	DeletedAt gorm.DeletedAt `gorm:"index" goal:"<calendar>autowired"`
	Creator   uint           `gorm:"index" goal:"<number>autowired,uint"`
}

type Ctrl added in v0.0.18

type Ctrl interface {
	Ctrl()
}

type Lazy

type Lazy interface {
	Lazy()
}

type Purge added in v0.0.18

type Purge interface {
	Purge()
}

type Translate added in v0.0.22

type Translate interface {
	TranslatePkg() map[string]string

	TranslateName() map[string]string

	TranslateFields() map[string]map[string]string

	TranslateOptions() map[string]map[string]map[string]string
}

Jump to

Keyboard shortcuts

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