drive_gorm

package
v0.0.0-...-c5fba85 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(db *gorm.DB) *drive

Types

type Idempotent

type Idempotent struct {
	IdempotentKey string    `gorm:"primaryKey; size:100; NOT NULL;"` //自增ID
	CreateAt      time.Time `gorm:"NOT NULL;" `                      //创建时间
	ExpiryAt      time.Time `gorm:"NOT NULL; index;"`                //过期时间
}

Jump to

Keyboard shortcuts

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