Florian C.
Florian C.
Hi @deankarn Here is a full example : ``` package main import ( "fmt" "net/url" "github.com/go-playground/form/v4" ) type Request struct { ID *int `form:"id"` Str *string `form:"str"` } func main()...
Gorilla schema has a ZeroEmpty method to deal with this case : https://godoc.org/github.com/gorilla/schema#Decoder.ZeroEmpty
@gunawanwijaya Simply because i need to know if a value is given or not. If no value is given it's nil, otherwise it's the given value or 0 if parsing...