@@ -23,13 +23,13 @@ func (o HealthCheckResult) MarshalJSON() ([]byte, error) {
23
23
if o .Params == nil {
24
24
o .Params = make (map [string ]interface {}, 0 )
25
25
}
26
- type HealthCheckResultAlias HealthCheckResult
27
- return safejson .Marshal (HealthCheckResultAlias (o ))
26
+ type _tmpHealthCheckResult HealthCheckResult
27
+ return safejson .Marshal (_tmpHealthCheckResult (o ))
28
28
}
29
29
30
30
func (o * HealthCheckResult ) UnmarshalJSON (data []byte ) error {
31
- type HealthCheckResultAlias HealthCheckResult
32
- var rawHealthCheckResult HealthCheckResultAlias
31
+ type _tmpHealthCheckResult HealthCheckResult
32
+ var rawHealthCheckResult _tmpHealthCheckResult
33
33
if err := safejson .Unmarshal (data , & rawHealthCheckResult ); err != nil {
34
34
return err
35
35
}
@@ -64,13 +64,13 @@ func (o HealthStatus) MarshalJSON() ([]byte, error) {
64
64
if o .Checks == nil {
65
65
o .Checks = make (map [CheckType ]HealthCheckResult , 0 )
66
66
}
67
- type HealthStatusAlias HealthStatus
68
- return safejson .Marshal (HealthStatusAlias (o ))
67
+ type _tmpHealthStatus HealthStatus
68
+ return safejson .Marshal (_tmpHealthStatus (o ))
69
69
}
70
70
71
71
func (o * HealthStatus ) UnmarshalJSON (data []byte ) error {
72
- type HealthStatusAlias HealthStatus
73
- var rawHealthStatus HealthStatusAlias
72
+ type _tmpHealthStatus HealthStatus
73
+ var rawHealthStatus _tmpHealthStatus
74
74
if err := safejson .Unmarshal (data , & rawHealthStatus ); err != nil {
75
75
return err
76
76
}
0 commit comments