diff options
Diffstat (limited to 'vendor/github.com/go-playground/validator/v10/util.go')
-rw-r--r-- | vendor/github.com/go-playground/validator/v10/util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/go-playground/validator/v10/util.go b/vendor/github.com/go-playground/validator/v10/util.go index 36da85514..3925cfe1c 100644 --- a/vendor/github.com/go-playground/validator/v10/util.go +++ b/vendor/github.com/go-playground/validator/v10/util.go @@ -234,7 +234,7 @@ func asInt(param string) int64 { func asIntFromTimeDuration(param string) int64 { d, err := time.ParseDuration(param) if err != nil { - // attempt parsing as an an integer assuming nanosecond precision + // attempt parsing as an integer assuming nanosecond precision return asInt(param) } return int64(d) |