Example #1
0
func init() {
	router := routers.GetNewMux()
	testServer = httptest.NewServer(router)
}
Example #2
0
func main() {
	n := negroni.Classic()
	n.UseHandler(routers.GetNewMux())
	n.Run(":" + getPort())
}