mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-25 16:52:07 -05:00
Remove unused parameter
Signed-off-by: Brett Logan <lindluni@github.com>
This commit is contained in:
parent
2e9a170fda
commit
917bcbc117
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ type FooType struct {
|
|||
Var *string `validate:"alphanum"`
|
||||
}
|
||||
|
||||
func post(c echo.Context) (err error) {
|
||||
func post(echo.Context) (err error) {
|
||||
validate := validator.New()
|
||||
|
||||
if err = validate.Struct(FooType{Var: nil}); err != nil {
|
||||
|
|
Loading…
Reference in a new issue