func main() { fmt.Println("Server starting") http.ListenAndServe(":9090", api.Handlers()) }
func init() { server = httptest.NewServer(api.Handlers()) appsUrl = fmt.Sprintf("%s/apps", server.URL) }