Skip to content

Commit

Permalink
change database config dbname json to db-name
Browse files Browse the repository at this point in the history
  • Loading branch information
snowlyg committed Feb 17, 2023
1 parent 9e3d295 commit b2b8a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/database/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var CONFIG = Mysql{
type Mysql struct {
Path string `mapstructure:"path" json:"path" yaml:"path"`
Config string `mapstructure:"config" json:"config" yaml:"config"`
DbName string `mapstructure:"db-name" json:"dbName" yaml:"db-name"`
DbName string `mapstructure:"db-name" json:"db-name" yaml:"db-name"`
Username string `mapstructure:"username" json:"username" yaml:"username"`
Password string `mapstructure:"password" json:"password" yaml:"password"`
MaxIdleConns int `mapstructure:"max-idle-conns" json:"max-idle-conns" yaml:"max-idle-conns"`
Expand Down

0 comments on commit b2b8a73

Please sign in to comment.