mirror of
https://github.com/mgechev/revive.git
synced 2025-11-27 22:18:41 +02:00
fix: rule struct-tag false positive on validate:omitempty (#1525)
This commit is contained in:
@@ -843,6 +843,7 @@ var validateSingleOptions = map[string]struct{}{
|
||||
"multibyte": {},
|
||||
"number": {},
|
||||
"numeric": {},
|
||||
"omitempty": {},
|
||||
"port": {},
|
||||
"postcode_iso3166_alpha2": {},
|
||||
"postcode_iso3166_alpha2_field": {},
|
||||
|
||||
Reference in New Issue
Block a user