func main() { settings.Init() router := routers.InitRoutes() n := negroni.Classic() n.UseHandler(router) http.ListenAndServe(":5000", n) }
func (s *AuthenticationServicesTestSuite) SetUpSuite(c *C) { os.Setenv("GO_ENV", "tests") settings.Init() }
func (s *MiddlewaresTestSuite) SetUpSuite(c *C) { os.Setenv("GO_ENV", "tests") settings.Init() }