global

package
v0.0.0-...-66d046e Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	QGA_DB                  *gorm.DB
	QGA_REDIS               *redis.Client
	QGA_CONFIG              config.Server
	QGA_VP                  *viper.Viper
	QGA_LOG                 *zap.Logger
	QGA_ROUTERS             gin.RoutesInfo
	QGA_ACTIVE_DBNAME       *string
	QGA_Timer               = timer.NewTimerTask()
	QGA_Concurrency_Control = &singleflight.Group{}
	BlackCache              local_cache.Cache
)

Functions

This section is empty.

Types

type QGA_MODEL

type QGA_MODEL struct {
	ID        uint           `gorm:"primarykey" json:"id"` // 主键ID
	CreatedAt time.Time      `json:"created_at"`           // 创建时间
	UpdatedAt time.Time      `json:"updated_at"`           // 更新时间
	DeletedAt gorm.DeletedAt `gorm:"index" json:"-"`       // 删除时间
}

Jump to

Keyboard shortcuts

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