diff options
-rw-r--r-- | lexsurf.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -86,7 +86,7 @@ func (h *handler) handle(w http.ResponseWriter, r *http.Request) { w.Write([]byte("unknown law")) return } - http.Redirect(w, r, val.Url, 302) + http.Redirect(w, r, val.URL, 302) } else { query := r.URL.Query().Get("q") if query != "" { @@ -117,7 +117,7 @@ func (h *handler) handle(w http.ResponseWriter, r *http.Request) { } type law struct { - Url string + URL string Title string Abbr string Redir string |