pikapika/go/main/utils/const.go

17 lines
235 B
Go
Raw Normal View History

2021-10-22 02:24:39 +00:00
package utils
2021-09-29 23:57:09 +00:00
import (
"gorm.io/gorm"
"gorm.io/gorm/logger"
"os"
)
var (
CreateDirMode = os.FileMode(0700)
CreateFileMode = os.FileMode(0600)
GormConfig = &gorm.Config{
Logger: logger.Default.LogMode(logger.Info),
}
)