Showing
1 changed file
with
0 additions
and
7 deletions
| ... | ... | @@ -26,7 +26,6 @@ package test |
| 26 | 26 | |
| 27 | 27 | import ( |
| 28 | 28 | "context" |
| 29 | - "encoding/json" | |
| 30 | 29 | "io" |
| 31 | 30 | "net/http" |
| 32 | 31 | "strings" |
| ... | ... | @@ -39,12 +38,6 @@ type ApiHandler struct { |
| 39 | 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 | 41 | type Server struct { |
| 49 | 42 | server *http.Server |
| 50 | 43 | mux *http.ServeMux | ... | ... |
Please
register
or
login
to post a comment