mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 17:28:53 +02:00
fix: json marshal/unmarshal
This commit is contained in:
@@ -25,7 +25,7 @@ func getHealthInfo(r Route) map[string]string {
|
||||
}
|
||||
|
||||
type HealthInfoRaw struct {
|
||||
Status health.Status `json:"status,string"`
|
||||
Status health.Status `json:"status"`
|
||||
Latency time.Duration `json:"latency"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user