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
|
go 1.22.3
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue