UrlFor refactored to be more idiomatic Go