This commit is contained in:
Blizzard
2025-04-24 00:36:39 +08:00
commit 991f37b13a
8 changed files with 123 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
package config
type DB struct {
Host string `mapstructure:"host" json:"host" yaml:"host"`
Port int `mapstructure:"port" json:"port" yaml:"port"`
User string `mapstructure:"user" json:"user" yaml:"user"`
Password string `mapstructure:"password" json:"password" yaml:"password"`
}