model

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UID            = "uid"
	NAME           = "name"
	INFO           = "info"
	VENDOR         = "vendor"
	USER_UID       = "user_uid"
	PLACE_UID      = "place_uid"
	AUTH_UID       = "auth_uid"
	AUTH_STATUS    = "auth_status"
	PHOTO_UID      = "photo_uid"
	LIBRARY_ID     = "library_id"
	LIBRARY_SECRET = "library_secret"
	ACCESS_TOKEN   = "access_token"
	EXPIRE_TIME    = "expire_time"
	SPACE_ID       = "space_id"
	USER_ID        = "user_id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Smh

type Smh struct {
	db.ModelWithUID
	AuthUID       string `gorm:"type:char(32);index"`
	UserUID       string `gorm:"type:char(32)"`
	Name          string `gorm:"type:varchar(32)"`
	Info          string `gorm:"type:varchar(64)"`
	LibraryID     string `gorm:"type:varchar(32)"`
	LibrarySecret string `gorm:"type:varchar(64)"`
	AccessToken   string `gorm:"type:varchar(512)"`
	ExpireTime    db.Time
}

Jump to

Keyboard shortcuts

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