This is part of my main function that I use for my end points
r := mux.NewRouter()
r.StrictSlash(true)
r.HandleFunc("/", test)
r.HandleFunc("/feature/list/", a.FeatureListHandler)
log.Fatal(http.ListenAndServe(":8080", r))
but when I curl localhost:8080/feature/list I get
<a hef="/feature/list">Moved Permanently</a>
However, when I curl localhost:8080/feature/list/ I get my json.
How do I make it so that both routes will return the json I want.