Module name was changet to git.arav.top/Arav/justcaptcha.

This commit is contained in:
Alexander Andreev 2023-01-08 18:49:33 +04:00
parent 9bb80f1f6c
commit fcb656d4ea
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
5 changed files with 11 additions and 7 deletions

View File

@ -3,7 +3,6 @@ package main
import (
"flag"
"fmt"
"justcaptcha/internal/http"
"log"
"net/netip"
"os"
@ -11,6 +10,8 @@ import (
"strings"
"syscall"
"time"
"git.arav.top/Arav/justcaptcha/internal/http"
)
var version string

2
go.mod
View File

@ -1,4 +1,4 @@
module justcaptcha
module git.arav.top/Arav/justcaptcha
go 1.19

View File

@ -3,11 +3,12 @@ package http
import (
"fmt"
"image/jpeg"
"justcaptcha/pkg/captcha"
"justcaptcha/pkg/captcha/inmemdb"
"justcaptcha/pkg/dwcaptcha"
"net/http"
"time"
"git.arav.top/Arav/justcaptcha/pkg/captcha"
"git.arav.top/Arav/justcaptcha/pkg/captcha/inmemdb"
"git.arav.top/Arav/justcaptcha/pkg/dwcaptcha"
)
const errMsgWrongAnswer = "An answer provided was wrong"

View File

@ -2,9 +2,10 @@ package inmemdb
import (
"image"
"justcaptcha/pkg/captcha"
"sync"
"time"
"git.arav.top/Arav/justcaptcha/pkg/captcha"
)
type InMemoryCaptchaDB struct {

View File

@ -2,10 +2,11 @@ package dwcaptcha
import (
"image"
"justcaptcha/pkg/captcha"
"math/rand"
"time"
"git.arav.top/Arav/justcaptcha/pkg/captcha"
"github.com/fogleman/gg"
)