1
0
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:
Oleksandr Redko
2025-04-10 08:47:55 +03:00
committed by GitHub
parent 8221f8516d
commit 1cb97fdcfc
5 changed files with 7 additions and 7 deletions

View File

@@ -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/