From cbd80e752fdffad555af23221604d4be2fab54a1 Mon Sep 17 00:00:00 2001 From: what Date: Mon, 29 Jan 2024 22:35:05 +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 c56a841..1014f24 100644 --- a/captcha.go +++ b/captcha.go @@ -8,6 +8,6 @@ import ( type Captcha interface { HttpMiddleware(container *do.Injector) func(next http.Handler) http.Handler - Verify(id, answer string, clear bool) bool + Verify(id, answer string, clear bool) error Generate(captchaUuid string) (id, answer string) }