diff --git a/cmd/aicra/main.go b/cmd/aicra/main.go index 6855455..2eb2f53 100644 --- a/cmd/aicra/main.go +++ b/cmd/aicra/main.go @@ -16,7 +16,7 @@ func main() { ctlPathFlag := flag.String("c", "root", "Path to controllers' directory") /* (2) types path */ - typPathFlag := flag.String("t", "custom-types", "Path to custom types' directory") + typPathFlag := flag.String("t", "types", "Path to custom types' directory") /* (3) middleware path */ midPathFlag := flag.String("m", "middleware", "Path to middlewares' directory") diff --git a/server.go b/server.go index a2b57e6..9c0d5cc 100644 --- a/server.go +++ b/server.go @@ -73,7 +73,6 @@ func (s *Server) routeRequest(res http.ResponseWriter, httpReq *http.Request) { /* (2) Middleware: authentication */ scope := s.Middleware.Run(*httpReq) - fmt.Printf("scope is %v\n", scope) /* (3) Find a matching controller */ controller := s.findController(req)