pikapika/go/pikapi/const_value/common.go

17 lines
241 B
Go
Raw Normal View History

2021-09-29 23:57:09 +00:00
package const_value
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),
}
)