From 6e14830eaf436457f179a56f73bbb0c99e0bcf4c Mon Sep 17 00:00:00 2001 From: Daniel Taylor Date: Tue, 12 Nov 2024 12:19:58 -0800 Subject: [PATCH] fix: linter feedback --- huma_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/huma_test.go b/huma_test.go index 7934f316..083e9670 100644 --- a/huma_test.go +++ b/huma_test.go @@ -1372,7 +1372,7 @@ Content of example2.txt. Method: http.MethodGet, Path: "/error", }, func(ctx context.Context, input *struct{}) (*struct{}, error) { - return nil, fmt.Errorf("whoops") + return nil, errors.New("whoops") }) }, Method: http.MethodGet,