完善dockerfile构建镜像
This commit is contained in:
15
pkg/global/global.go
Normal file
15
pkg/global/global.go
Normal file
@ -0,0 +1,15 @@
|
||||
package global
|
||||
|
||||
import (
|
||||
"github.com/patrickmn/go-cache"
|
||||
"gorm.io/gorm"
|
||||
"next-terminal/pkg/config"
|
||||
)
|
||||
|
||||
var DB *gorm.DB
|
||||
|
||||
var Cache *cache.Cache
|
||||
|
||||
var Config *config.Config
|
||||
|
||||
var Store *TunStore
|
Reference in New Issue
Block a user