Cody Joyce 2 ay önce
ebeveyn
işleme
3152341b86
8 değiştirilmiş dosya ile 13 ekleme ve 13 silme
  1. 1 1
      gen/html.go
  2. 1 1
      gen/img/img.go
  3. 1 1
      gen/layout/main.go
  4. 4 4
      gen/main.go
  5. 1 1
      gen/partial/partial.go
  6. 2 2
      render/render.go
  7. 2 2
      sec/middleware.go
  8. 1 1
      sec/secure.go

+ 1 - 1
gen/html.go

@@ -1,7 +1,7 @@
 package gen
 
 import (
-	"git.clearsky.net.au/cody/gex.git/pkg/gen/domquery"
+	"git.clearsky.net.au/cody/gex.git/gen/domquery"
 )
 
 func AddClassAttr(htmlStr string, className string) string {

+ 1 - 1
gen/img/img.go

@@ -7,7 +7,7 @@ import (
 	"path/filepath"
 	"strings"
 
-	"git.clearsky.net.au/cody/gex.git/pkg/gen/domquery"
+	"git.clearsky.net.au/cody/gex.git/gen/domquery"
 )
 
 func Process(htmlDir string, tag *domquery.Node) string {

+ 1 - 1
gen/layout/main.go

@@ -5,7 +5,7 @@ import (
 	"os"
 	"strings"
 
-	"git.clearsky.net.au/cody/gex.git/pkg/gen/domquery"
+	"git.clearsky.net.au/cody/gex.git/gen/domquery"
 )
 
 func ProcessHTML(htmlStr string) (string, error) {

+ 4 - 4
gen/main.go

@@ -7,10 +7,10 @@ import (
 	"path/filepath"
 	"strings"
 
-	"git.clearsky.net.au/cody/gex.git/pkg/gen/domquery"
-	"git.clearsky.net.au/cody/gex.git/pkg/gen/img"
-	"git.clearsky.net.au/cody/gex.git/pkg/gen/layout"
-	"git.clearsky.net.au/cody/gex.git/pkg/gen/partial"
+	"git.clearsky.net.au/cody/gex.git/gen/domquery"
+	"git.clearsky.net.au/cody/gex.git/gen/img"
+	"git.clearsky.net.au/cody/gex.git/gen/layout"
+	"git.clearsky.net.au/cody/gex.git/gen/partial"
 )
 
 var appRuleList cssRuleList

+ 1 - 1
gen/partial/partial.go

@@ -5,7 +5,7 @@ import (
 	"os"
 	"strings"
 
-	"git.clearsky.net.au/cody/gex.git/pkg/gen/domquery"
+	"git.clearsky.net.au/cody/gex.git/gen/domquery"
 )
 
 func ProcessHTML(htmlStr string) (string, error) {

+ 2 - 2
render/render.go

@@ -6,8 +6,8 @@ import (
 	"path/filepath"
 	"strings"
 
-	"git.clearsky.net.au/cody/gex.git/pkg/srv"
-	"git.clearsky.net.au/cody/gex.git/pkg/utils"
+	"git.clearsky.net.au/cody/gex.git/srv"
+	"git.clearsky.net.au/cody/gex.git/utils"
 )
 
 type Props map[string]any

+ 2 - 2
sec/middleware.go

@@ -1,8 +1,8 @@
 package sec
 
 import (
-	"git.clearsky.net.au/cody/gex.git/pkg/sess"
-	"git.clearsky.net.au/cody/gex.git/pkg/srv"
+	"git.clearsky.net.au/cody/gex.git/sess"
+	"git.clearsky.net.au/cody/gex.git/srv"
 )
 
 func Middleware(req *srv.Req, res srv.Res) bool {

+ 1 - 1
sec/secure.go

@@ -1,6 +1,6 @@
 package sec
 
-import "git.clearsky.net.au/cody/gex.git/pkg/srv"
+import "git.clearsky.net.au/cody/gex.git/srv"
 
 var permissions = make(map[string][]string)