Commit 0ef9d660 authored by Aksel Baardsen's avatar Aksel Baardsen
Browse files

added single comment

parent b19a9efd
...@@ -11,7 +11,7 @@ import ( ...@@ -11,7 +11,7 @@ import (
// handles requests for /country/ // handles requests for /country/
func Chandler(w http.ResponseWriter, r *http.Request) { func Chandler(w http.ResponseWriter, r *http.Request) {
vars := mux.Vars(r) vars := mux.Vars(r)
limit := r.FormValue("limit") // gets the limit, if specified limit := r.FormValue("limit") // gets the limit, if specified in url
// unnecessary default limit (gbif API has default of 20) // unnecessary default limit (gbif API has default of 20)
if len(limit) == 0 { if len(limit) == 0 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment