types

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 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 All

type All interface {
	int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | float32 | float64 | string | bool | []byte | time.Time
}

All 支持的所有类型

type All1

type All1 interface {
	int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | float32 | float64 | string | bool | time.Time
}

All1 支持的所有类型(不包含[]byte)

type IntUintFloat

type IntUintFloat interface {
	int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | float32 | float64
}

IntUintFloat 支持的所有整数和浮点数类型

type ModelCTExtends added in v0.0.17

type ModelCTExtends struct {
	CreateAt timex.JsonTime `xorm:"comment('创建时间') DATETIME created" json:"create_at"`
}

type ModelCUExtends added in v0.0.17

type ModelCUExtends struct {
	CreateAt timex.JsonTime `xorm:"comment('创建时间') DATETIME created" json:"create_at"`
	UpdateAt timex.JsonTime `xorm:"comment('更新时间') DATETIME updated" json:"update_at"`
}

type ModelExtends added in v0.0.17

type ModelExtends struct {
	CreateAt  timex.JsonTime `xorm:"comment('创建时间') DATETIME created" json:"create_at"`
	UpdateAt  timex.JsonTime `xorm:"comment('更新时间') DATETIME updated" json:"update_at"`
	CreateUid int            `xorm:"comment('创建人id') INT(11) default 0" json:"create_uid"`
	UpdateUid int            `xorm:"comment('更新人id') INT(11) default 0" json:"update_uid"`
}

Jump to

Keyboard shortcuts

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