client := client.DefaultClient params := operations.NewSomePathParamParams() params.SetPathParam("id", "123") resp, err := client.Operations.SomePathParam(params, nil)In this example, the SomePathParam operation is being called with a parameter named "id". The SetPathParam method is used to set the value of the parameter to "123". This code example belongs to the go-swagger package library.