import ( "github.com/gogits/gogs/modules/context" "strconv" ) func MyHandler(ctx *context.Context) { id, err := ctx.QueryInt64("id") if err != nil { // Handle error here } // Use the id here }In this example, we import the context package and strconv package to convert the string parameter to int64. In the `MyHandler` function, we call the `QueryInt64` function to get the `id` parameter from the URL query parameters. If the `id` cannot be parsed to an int64, an error is returned. Overall, the `context` package provides a set of helpful functions to extract data from the context.