Showing
1 changed file
with
0 additions
and
7 deletions
| @@ -26,7 +26,6 @@ package test | @@ -26,7 +26,6 @@ package test | ||
| 26 | 26 | ||
| 27 | import ( | 27 | import ( |
| 28 | "context" | 28 | "context" |
| 29 | - "encoding/json" | ||
| 30 | "io" | 29 | "io" |
| 31 | "net/http" | 30 | "net/http" |
| 32 | "strings" | 31 | "strings" |
| @@ -39,12 +38,6 @@ type ApiHandler struct { | @@ -39,12 +38,6 @@ type ApiHandler struct { | ||
| 39 | log *logger.Logger | 38 | log *logger.Logger |
| 40 | } | 39 | } |
| 41 | 40 | ||
| 42 | -type version struct { | ||
| 43 | - Version string `json:"Version"` | ||
| 44 | - BuildCommit string `json:"BuildCommint"` | ||
| 45 | - BuildTime string `json:"BuildTimestamp"` | ||
| 46 | -} | ||
| 47 | - | ||
| 48 | type Server struct { | 41 | type Server struct { |
| 49 | server *http.Server | 42 | server *http.Server |
| 50 | mux *http.ServeMux | 43 | mux *http.ServeMux |
Please
register
or
login
to post a comment