This commit is contained in:
2024-11-17 13:42:58 +08:00
parent 2d741a3f0f
commit 983cde2c7d
7 changed files with 106 additions and 33 deletions

View File

@@ -2,16 +2,19 @@ package config
var (
ListenPort int
File string
DB database
Session string
Semester int
StartTime string
Week int
File string
)
type database struct {
Path string
//Port string
//User string
//Password string
// enable if you want use an instance other than SQLite
Type string
Type string
Path string
Port int
User string
Password string
Name string
}