We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a855f3 commit 530e54fCopy full SHA for 530e54f
cmd/server/main.go
@@ -75,7 +75,6 @@ func main() {
75
r.HandleFunc("/method/post", method.HandlePost).Methods(http.MethodPost)
76
r.HandleFunc("/method/put", method.HandlePut).Methods(http.MethodPut)
77
r.HandleFunc("/method/trace", method.HandleTrace).Methods(http.MethodTrace)
78
-
79
oauth2router := r.NewRoute().Subrouter()
80
oauth2router.Use(middleware.OAuth2)
81
oauth2router.HandleFunc("/ecommerce/products", ecommerce.HandleListProducts).Methods(http.MethodGet)
0 commit comments