mField

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 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 FieldsExtendsJsonType

type FieldsExtendsJsonType struct {
	ExtraData string `gorm:"type:text;comment:扩展字段"`
}

func (*FieldsExtendsJsonType) GetExtendsJson

func (e *FieldsExtendsJsonType) GetExtendsJson(key string) gjson.Result

func (*FieldsExtendsJsonType) SetExtendsJson

func (e *FieldsExtendsJsonType) SetExtendsJson(key string, value interface{})

type FieldsIdModel

type FieldsIdModel struct {
	ID uint64 `gorm:"primarykey"`
}

type FieldsModel

type FieldsModel struct {
	ID        uint64 `gorm:"primarykey"`
	CreatedAt time.Time
	UpdatedAt time.Time
}

type FieldsTimeModel

type FieldsTimeModel struct {
	CreatedAt time.Time
	UpdatedAt time.Time
}

type FieldsTimeUnixModel

type FieldsTimeUnixModel struct {
	CreatedAt int64 `gorm:"autoCreateTime"`
	UpdatedAt int64 `gorm:"autoUpdateTime"`
}

Jump to

Keyboard shortcuts

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