chore: minor cleanup
This commit is contained in:
parent
0f7729d795
commit
031cf35dd2
4 changed files with 21 additions and 19 deletions
|
|
@ -136,7 +136,7 @@ func boolHandler(set func(bool) error, get func() bool) http.HandlerFunc {
|
|||
}
|
||||
}
|
||||
|
||||
// boolGetHandler retrievs bool api values
|
||||
// boolGetHandler retrieves bool api values
|
||||
func boolGetHandler(get func() bool) http.HandlerFunc {
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
jsonResult(w, get())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue