refactor - pasdns can now look sane 2.0

This commit is contained in:
amy 2024-07-15 21:57:05 +03:30
parent 0be492aa87
commit 57fbfbf059
5 changed files with 8 additions and 8 deletions

2
go.mod
View file

@ -1,3 +1,3 @@
module exhq.dev/pas module git.gay/exhq/pas
go 1.22.3 go 1.22.3

View file

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"strings" "strings"
"exhq.dev/pas/src/Constants" "git.gay/exhq/pas/src/Constants"
) )
func IntentGenerator(res Constants.Response) string { func IntentGenerator(res Constants.Response) string {

View file

@ -7,9 +7,9 @@ import (
"strconv" "strconv"
"strings" "strings"
"exhq.dev/pas/src/Constants" "git.gay/exhq/pas/src/Constants"
"exhq.dev/pas/src/helper" "git.gay/exhq/pas/src/helper"
"exhq.dev/pas/src/parser" "git.gay/exhq/pas/src/parser"
) )
func StartServer(port int, handler func(request Constants.Request, response func(Constants.Response)), errr error) error { func StartServer(port int, handler func(request Constants.Request, response func(Constants.Response)), errr error) error {

View file

@ -4,7 +4,7 @@ import (
"regexp" "regexp"
"strings" "strings"
"exhq.dev/pas/src/Constants" "git.gay/exhq/pas/src/Constants"
) )
func CheckIpSyntax(ip string) bool { func CheckIpSyntax(ip string) bool {

View file

@ -3,8 +3,8 @@ package main
import ( import (
"log" "log"
pas "exhq.dev/pas/src" pas "git.gay/exhq/pas/src"
"exhq.dev/pas/src/Constants" "git.gay/exhq/pas/src/Constants"
) )
func main() { func main() {