mirror of
https://github.com/alice-lg/birdwatcher.git
synced 2025-03-09 00:00:05 +01:00
go fmt
This commit is contained in:
parent
48f6517e1b
commit
8bd8edc90d
1 changed files with 4 additions and 4 deletions
|
@ -52,10 +52,10 @@ func Endpoint(wrapped func(httprouter.Params) (bird.Parsed, bool)) httprouter.Ha
|
|||
res := make(map[string]interface{})
|
||||
|
||||
ret, from_cache := wrapped(ps)
|
||||
if ret == nil {
|
||||
w.WriteHeader(http.StatusTooManyRequests)
|
||||
return
|
||||
}
|
||||
if ret == nil {
|
||||
w.WriteHeader(http.StatusTooManyRequests)
|
||||
return
|
||||
}
|
||||
res["api"] = GetApiInfo(from_cache)
|
||||
|
||||
for k, v := range ret {
|
||||
|
|
Loading…
Add table
Reference in a new issue