Skip to content
Snippets Groups Projects
Commit 66b451d3 authored by Aksel Baardsen's avatar Aksel Baardsen
Browse files

added comment

parent 9cc37d26
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ func main() { ...@@ -18,7 +18,7 @@ func main() {
port = "5000" port = "5000"
} }
// creating a subrouter with a fixed path // creating a sub-router with a fixed path that only accepts GET-requests
c := r.PathPrefix("/conservation/v1").Methods("GET").Subrouter() c := r.PathPrefix("/conservation/v1").Methods("GET").Subrouter()
// two handlerpaths makes sure that the caller does not HAVE to specify limit // two handlerpaths makes sure that the caller does not HAVE to specify limit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment