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