Skip to content

Bind Path Param #20

@wwwxu

Description

@wwwxu

How can I bind PathParam to Struct? Thanks!
like, request URI is hello/:id, I wanna bind id to Struct

type HelloRequest struct {
    Id uint64 `json:"id,omitempty"`
}

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