Skip to content

Commit 463e7e3

Browse files
committed
fix lint issues
1 parent 9c6ec6c commit 463e7e3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

_examples/validate_fn/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (e *Enum) Validate() error {
2828
}
2929

3030
type Struct struct {
31-
Foo *Enum `validate:"validateFn"` //uses Validate() error by default
31+
Foo *Enum `validate:"validateFn"` // uses Validate() error by default
3232
Bar Enum `validate:"validateFn=NotZero"` // uses NotZero() bool
3333
}
3434

validator_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14197,7 +14197,6 @@ func TestValidateFn(t *testing.T) {
1419714197
Equal(t, fe.Field(), "Inner")
1419814198
Equal(t, fe.Namespace(), "Test.Inner")
1419914199
Equal(t, fe.Tag(), "validateFn")
14200-
1420114200
})
1420214201

1420314202
t.Run("using struct", func(t *testing.T) {

0 commit comments

Comments
 (0)