Given we're moving away from use of html/template (e.g., see shurcooL/notificationsapp#3 and shurcooL/Go-Package-Store#68), it's no longer worth it to import the entire html/template package only for its URL type.
It's simpler to use string and add URL to the variable name to indicate that it's a URL.
This PR updates the use of the API so that the build of cmd/servegoissues succeeds.
It also includes minor typo fix in a comment and a return statement simplification.
The users API has been changed to use
string
type instead oftemplate.URL
in https://github.com/shurcooL/users/commit/155c11a29d1e03a3b29f4f9d7068ca7bae9ebc27. See its commit message for rationale:This PR updates the use of the API so that the build of
cmd/servegoissues
succeeds.It also includes minor typo fix in a comment and a return statement simplification.