mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-04 09:48:17 +08:00
style: fix gofumpt formatting in form_mapping_test.go
Group consecutive var declarations to satisfy gofumpt linter. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
95673e7f43
commit
7ba63f3523
@ -1255,8 +1255,10 @@ func (d *testDualUnmarshaler) UnmarshalText(text []byte) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var _ BindUnmarshaler = (*testDualUnmarshaler)(nil)
|
var (
|
||||||
var _ encoding.TextUnmarshaler = (*testDualUnmarshaler)(nil)
|
_ BindUnmarshaler = (*testDualUnmarshaler)(nil)
|
||||||
|
_ encoding.TextUnmarshaler = (*testDualUnmarshaler)(nil)
|
||||||
|
)
|
||||||
|
|
||||||
func TestMappingBindUnmarshalerTakesPrecedenceOverTextUnmarshaler(t *testing.T) {
|
func TestMappingBindUnmarshalerTakesPrecedenceOverTextUnmarshaler(t *testing.T) {
|
||||||
var s struct {
|
var s struct {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user