refactor - pasdns can now look sane 2.0
This commit is contained in:
parent
0be492aa87
commit
57fbfbf059
5 changed files with 8 additions and 8 deletions
2
go.mod
2
go.mod
|
@ -1,3 +1,3 @@
|
|||
module exhq.dev/pas
|
||||
module git.gay/exhq/pas
|
||||
|
||||
go 1.22.3
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"exhq.dev/pas/src/Constants"
|
||||
"git.gay/exhq/pas/src/Constants"
|
||||
)
|
||||
|
||||
func IntentGenerator(res Constants.Response) string {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"regexp"
|
||||
"strings"
|
||||
|
||||
"exhq.dev/pas/src/Constants"
|
||||
"git.gay/exhq/pas/src/Constants"
|
||||
)
|
||||
|
||||
func CheckIpSyntax(ip string) bool {
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue