ID type moved to db.go file where it belongs.

This commit is contained in:
Alexander Andreev 2022-06-27 00:26:03 +04:00
parent 508d44a512
commit 28ceae169b
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
2 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,6 @@ const (
var errorNotFound = errors.New("captcha not found") var errorNotFound = errors.New("captcha not found")
type ID string
type Answer string type Answer string
type ICaptcha interface { type ICaptcha interface {

View File

@ -9,6 +9,8 @@ import (
"time" "time"
) )
type ID string
var expiredScanInterval = 60 * time.Second var expiredScanInterval = 60 * time.Second
type ICaptchaDB interface { type ICaptchaDB interface {