mirror of
https://github.com/astaxie/beego.git
synced 2025-07-07 02:20:19 +00:00
Add all type support for UrlFor’s params
This commit is contained in:
@ -246,7 +246,7 @@ func Htmlunquote(src string) string {
|
||||
// /user/John%20Doe
|
||||
//
|
||||
// more detail http://beego.me/docs/mvc/controller/urlbuilding.md
|
||||
func UrlFor(endpoint string, values ...string) string {
|
||||
func UrlFor(endpoint string, values ...interface{}) string {
|
||||
return BeeApp.Handlers.UrlFor(endpoint, values...)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user