HTTP server moved to internal. DwellingCaptcha moved to pkg.

This commit is contained in:
Alexander Andreev 2023-01-08 17:00:19 +04:00
parent 29e4666bd9
commit d7599bdf46
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
4 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ import (
"flag" "flag"
"fmt" "fmt"
"justcaptcha/internal/handlers" "justcaptcha/internal/handlers"
"justcaptcha/pkg/server" "justcaptcha/internal/server"
"log" "log"
"net/netip" "net/netip"
"os" "os"

View File

@ -3,10 +3,10 @@ package handlers
import ( import (
"fmt" "fmt"
"image/jpeg" "image/jpeg"
"justcaptcha/internal/dwcaptcha" "justcaptcha/internal/server"
"justcaptcha/pkg/captcha" "justcaptcha/pkg/captcha"
"justcaptcha/pkg/captcha/inmemdb" "justcaptcha/pkg/captcha/inmemdb"
"justcaptcha/pkg/server" "justcaptcha/pkg/dwcaptcha"
"net/http" "net/http"
"time" "time"
) )