diff --git a/cmd/justcaptchad/main.go b/cmd/justcaptchad/main.go index 5efaaef..bc032af 100644 --- a/cmd/justcaptchad/main.go +++ b/cmd/justcaptchad/main.go @@ -4,7 +4,7 @@ import ( "flag" "fmt" "justcaptcha/internal/handlers" - "justcaptcha/pkg/server" + "justcaptcha/internal/server" "log" "net/netip" "os" diff --git a/internal/handlers/handlers.go b/internal/handlers/handlers.go index c479445..5ef69b2 100644 --- a/internal/handlers/handlers.go +++ b/internal/handlers/handlers.go @@ -3,10 +3,10 @@ package handlers import ( "fmt" "image/jpeg" - "justcaptcha/internal/dwcaptcha" + "justcaptcha/internal/server" "justcaptcha/pkg/captcha" "justcaptcha/pkg/captcha/inmemdb" - "justcaptcha/pkg/server" + "justcaptcha/pkg/dwcaptcha" "net/http" "time" ) diff --git a/pkg/server/http.go b/internal/server/http.go similarity index 100% rename from pkg/server/http.go rename to internal/server/http.go diff --git a/internal/dwcaptcha/dwelling_captcha.go b/pkg/dwcaptcha/dwelling_captcha.go similarity index 100% rename from internal/dwcaptcha/dwelling_captcha.go rename to pkg/dwcaptcha/dwelling_captcha.go