Remove unused parameter

Signed-off-by: Brett Logan <lindluni@github.com>
This commit is contained in:
Brett Logan 2023-04-10 15:40:06 -04:00
parent 2e9a170fda
commit 917bcbc117

View file

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