mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
refactor: fix typos in comments and struct names (#1304)
This commit is contained in:
2
testdata/struct_tag.go
vendored
2
testdata/struct_tag.go
vendored
@@ -3,7 +3,7 @@ package fixtures
|
||||
import "time"
|
||||
|
||||
type decodeAndValidateRequest struct {
|
||||
// BEAWRE : the flag of URLParam should match the const string URLParam
|
||||
// BEWARE : the flag of URLParam should match the const string URLParam
|
||||
URLParam string `json:"-" path:"url_param" validate:"numeric"`
|
||||
Text string `json:"text" validate:"max=10"`
|
||||
DefaultInt int `json:"defaultInt" default:"10.0"` // MATCH /type mismatch between field type and default value type in default tag/
|
||||
|
||||
Reference in New Issue
Block a user