We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84d11c0 commit 5c5dc02Copy full SHA for 5c5dc02
bindform_test.go
@@ -152,6 +152,7 @@ func TestMarshalForm(t *testing.T) {
152
},
153
"opt_int=456": {OptInt: func(v int) *int { return &v }(456)},
154
"opt_bool=true": {OptBool: func(v bool) *bool { return &v }(true)},
155
+ "": {OptBoolNullable: nil},
156
"opt_string=def": {OptString: func(v string) *string { return &v }("def")},
157
"opt_struct[int]=456&opt_struct[string]=def": {OptStruct: &testSubStruct{Int: 456, String: "def"}},
158
"opt_struct_slice[0][int]=123&opt_struct_slice[0][string]=abc&opt_struct_slice[1][int]=456&opt_struct_slice[1][string]=def": {
0 commit comments