Added /v2 in module name.

This commit is contained in:
Alexander Andreev 2023-08-12 22:39:42 +04:00
parent dede76d13e
commit 455999a9d5
Signed by: Arav
GPG Key ID: D22A817D95815393
5 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"git.arav.su/Arav/justcaptcha/dwcaptcha" "git.arav.su/Arav/justcaptcha/v2/dwcaptcha"
) )
const expiry = 10 * time.Minute const expiry = 10 * time.Minute

View File

@ -5,7 +5,7 @@ import (
"math/rand" "math/rand"
"time" "time"
captcha "git.arav.su/Arav/justcaptcha" captcha "git.arav.su/Arav/justcaptcha/v2"
"github.com/fogleman/gg" "github.com/fogleman/gg"
) )

2
go.mod
View File

@ -1,4 +1,4 @@
module git.arav.su/Arav/justcaptcha module git.arav.su/Arav/justcaptcha/v2
go 1.12 go 1.12

View File

@ -5,7 +5,7 @@ import (
"sync" "sync"
"time" "time"
captcha "git.arav.su/Arav/justcaptcha" captcha "git.arav.su/Arav/justcaptcha/v2"
) )
// InMemoryDB implementation that lives in a memory (map). // InMemoryDB implementation that lives in a memory (map).

View File

@ -4,9 +4,9 @@ import (
"testing" "testing"
"time" "time"
captcha "git.arav.su/Arav/justcaptcha" captcha "git.arav.su/Arav/justcaptcha/v2"
"git.arav.su/Arav/justcaptcha/dwcaptcha" "git.arav.su/Arav/justcaptcha/v2/dwcaptcha"
"git.arav.su/Arav/justcaptcha/inmemdb" "git.arav.su/Arav/justcaptcha/v2/inmemdb"
) )
const expiry = 10 * time.Minute const expiry = 10 * time.Minute