You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type Database struct {
UserName string `json:"user_name"`
Password string `json:"password"`
IP string `json:"ip"`
Port int `json:"port"`
DBName string `json:"db_name"`
SslMode string `json:"ssl_mode"`
MaxIdle int `json:"max_idle"`
MaxConn int `json:"max_conn"`
}
After archaius.UnmarshalConfig ,string type data can be parse, but int type data fail to parse Version of go chassis
v1.5.4 To Reproduce
Steps to reproduce the behavior:
Logs
#``
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
use archaius to parse configmap
the struct database
After archaius.UnmarshalConfig ,string type data can be parse, but int type data fail to parse
Version of go chassis
v1.5.4
To Reproduce
Steps to reproduce the behavior:
Logs
#``
The text was updated successfully, but these errors were encountered: