From ef1d73c764bb5a02f939c7d35e2dd2b51c45cf1c Mon Sep 17 00:00:00 2001 From: what Date: Tue, 30 Jan 2024 09:47:03 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E8=B0=83=E6=95=B4=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- captcha.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/captcha.go b/captcha.go index d4468dd..2bb489a 100644 --- a/captcha.go +++ b/captcha.go @@ -9,5 +9,5 @@ import ( type Captcha interface { HttpMiddleware(container *do.Injector) func(next http.Handler) http.Handler Verify(answer, salt string, clear bool) error - Generate(captchaUuid string, u User) (answer, salt string) + Generate(captchaUuid string, u User) (answer, salt string, err error) }