()
| 47 | } |
| 48 | |
| 49 | func main() { |
| 50 | port := flag.String("port", "8080", "Port for test HTTP server") |
| 51 | flag.Parse() |
| 52 | // Create an instance of our handler which satisfies the generated interface |
| 53 | petStore := api.NewPetStore() |
| 54 | s := NewGinPetServer(petStore, *port) |
| 55 | // And we serve HTTP until the world ends. |
| 56 | log.Fatal(s.ListenAndServe()) |
| 57 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…