ID type moved to db.go file where it belongs.
This commit is contained in:
parent
508d44a512
commit
28ceae169b
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user