Thanks to visit codestin.com
Credit goes to github.com

Skip to content

url /hello/ with trailing slash match mux.GET("/user/:name" #21

@tablecell

Description

@tablecell
func User(w http.ResponseWriter, r *http.Request, params denco.Params) {
    fmt.Fprintf(w, "Hello %s!\n", params.Get("name"))
}

    mux.GET("/user/:name", User),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions