type hh struct message string func api2 message string hh return hh me

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
type hh struct {
message string
}
func api2(message string) hh {
return hh{
message: message,
}
}
func (h hh) health1(_ context.Context, w http.ResponseWriter, r *http.Request) error {
return nil
}
func (h hh) health2(_ context.Context, w http.ResponseWriter, r *http.Request) error {
return nil
}
func (h hh) health3(_ context.Context, w http.ResponseWriter, r *http.Request) error {
return nil
}
func (h hh) health4(_ context.Context, w http.ResponseWriter, r *http.Request) error {
return nil
}