Simplified file structure.
This commit is contained in:
parent
ce1df27e3a
commit
dede76d13e
@ -4,7 +4,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.arav.su/Arav/justcaptcha/pkg/dwcaptcha"
|
"git.arav.su/Arav/justcaptcha/dwcaptcha"
|
||||||
)
|
)
|
||||||
|
|
||||||
const expiry = 10 * time.Minute
|
const expiry = 10 * time.Minute
|
@ -5,7 +5,7 @@ import (
|
|||||||
"math/rand"
|
"math/rand"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.arav.su/Arav/justcaptcha/pkg/captcha"
|
captcha "git.arav.su/Arav/justcaptcha"
|
||||||
|
|
||||||
"github.com/fogleman/gg"
|
"github.com/fogleman/gg"
|
||||||
)
|
)
|
@ -5,7 +5,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.arav.su/Arav/justcaptcha/pkg/captcha"
|
captcha "git.arav.su/Arav/justcaptcha"
|
||||||
)
|
)
|
||||||
|
|
||||||
// InMemoryDB implementation that lives in a memory (map).
|
// InMemoryDB implementation that lives in a memory (map).
|
@ -4,9 +4,9 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.arav.su/Arav/justcaptcha/pkg/captcha"
|
captcha "git.arav.su/Arav/justcaptcha"
|
||||||
"git.arav.su/Arav/justcaptcha/pkg/captcha/inmemdb"
|
"git.arav.su/Arav/justcaptcha/dwcaptcha"
|
||||||
"git.arav.su/Arav/justcaptcha/pkg/dwcaptcha"
|
"git.arav.su/Arav/justcaptcha/inmemdb"
|
||||||
)
|
)
|
||||||
|
|
||||||
const expiry = 10 * time.Minute
|
const expiry = 10 * time.Minute
|
Loading…
Reference in New Issue
Block a user