From 57fbfbf05998e96eeae9f5d39c47f9635c4ce3fe Mon Sep 17 00:00:00 2001 From: echo Date: Mon, 15 Jul 2024 21:57:05 +0330 Subject: [PATCH] refactor - pasdns can now look sane 2.0 --- go.mod | 2 +- src/helper/response.go | 2 +- src/main.go | 6 +++--- src/parser/parser.go | 2 +- src/test/test.go | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index 70e652e..d6a9246 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module exhq.dev/pas +module git.gay/exhq/pas go 1.22.3 diff --git a/src/helper/response.go b/src/helper/response.go index cc35d78..e96a0c5 100644 --- a/src/helper/response.go +++ b/src/helper/response.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "exhq.dev/pas/src/Constants" + "git.gay/exhq/pas/src/Constants" ) func IntentGenerator(res Constants.Response) string { diff --git a/src/main.go b/src/main.go index a65bbf9..f0b0d7e 100644 --- a/src/main.go +++ b/src/main.go @@ -7,9 +7,9 @@ import ( "strconv" "strings" - "exhq.dev/pas/src/Constants" - "exhq.dev/pas/src/helper" - "exhq.dev/pas/src/parser" + "git.gay/exhq/pas/src/Constants" + "git.gay/exhq/pas/src/helper" + "git.gay/exhq/pas/src/parser" ) func StartServer(port int, handler func(request Constants.Request, response func(Constants.Response)), errr error) error { diff --git a/src/parser/parser.go b/src/parser/parser.go index 6b9e55b..7adf853 100644 --- a/src/parser/parser.go +++ b/src/parser/parser.go @@ -4,7 +4,7 @@ import ( "regexp" "strings" - "exhq.dev/pas/src/Constants" + "git.gay/exhq/pas/src/Constants" ) func CheckIpSyntax(ip string) bool { diff --git a/src/test/test.go b/src/test/test.go index b56912c..3f4939e 100644 --- a/src/test/test.go +++ b/src/test/test.go @@ -3,8 +3,8 @@ package main import ( "log" - pas "exhq.dev/pas/src" - "exhq.dev/pas/src/Constants" + pas "git.gay/exhq/pas/src" + "git.gay/exhq/pas/src/Constants" ) func main() {