反向解析

    app.Get("/user", func(ctx *erguotou.Context) {

    }).Name("user")

    app.Get("/user/:id/:cs", func(ctx *erguotou.Context) {

    }).Name("home")

使用

    {{urlpath "user"}}

    {{urlpath "home" "12" "fr"}}

results matching ""

    No results matching ""