v1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 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 DbMeta

type DbMeta struct {
	Id      uint64     `json:"id"                xorm:"'id'      bigint   notnull             pk autoincr        comment('id')"`
	Created *time.Time `json:"created,omitempty" xorm:"'created' datetime null    created                        comment('created')"`
	Updated *time.Time `json:"updated,omitempty" xorm:"'updated' datetime null    updated                        comment('updated')"`
	Deleted *time.Time `json:"deleted,omitempty" xorm:"'deleted' datetime null    deleted     index(IDX_deleted) comment('deleted')"`
}

database meta info

type LabelMeta

type LabelMeta struct {
	Name    string  `json:"name"              xorm:"'name'    varchar(255) notnull comment('name')"`
	Summary *string `json:"summary,omitempty" xorm:"'summary' varchar(255) null    comment('summary')"`
}

label meta info object extends

func NewLabelMeta

func NewLabelMeta(name string, summary *string) LabelMeta

type UuidMeta

type UuidMeta struct {
	Uuid string `json:"uuid" xorm:"'uuid' char(32) notnull unique(UQE_uuid) comment('uuid')"`
}

uuid meta info

func NewUuidMeta

func NewUuidMeta() UuidMeta

Jump to

Keyboard shortcuts

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