about summary refs log tree commit diff stats
path: root/internal
diff options
context:
space:
mode:
authorAlan Pearce2024-06-29 18:09:10 +0200
committerAlan Pearce2024-06-29 18:09:10 +0200
commitc4b57d28caa8986d9fbdcbdb4085c8e74974dffc (patch)
tree2d7c64f5e282877add31b83b3c9ff065f73bd52e /internal
parentb4095d108a2646bcf9e7fff64788b10d9bce8da3 (diff)
downloadwebsite-c4b57d28caa8986d9fbdcbdb4085c8e74974dffc.tar.lz
website-c4b57d28caa8986d9fbdcbdb4085c8e74974dffc.tar.zst
website-c4b57d28caa8986d9fbdcbdb4085c8e74974dffc.zip
rename go module
Diffstat (limited to 'internal')
-rw-r--r--internal/atom/atom.go2
-rw-r--r--internal/builder/builder.go10
-rw-r--r--internal/builder/template.go7
-rw-r--r--internal/config/config.go3
-rw-r--r--internal/content/posts.go3
-rw-r--r--internal/listenfd/listenfd.go3
-rw-r--r--internal/server/dev.go3
-rw-r--r--internal/server/logging.go3
-rw-r--r--internal/server/mime.go3
-rw-r--r--internal/server/server.go10
-rw-r--r--internal/server/tcp.go2
-rw-r--r--internal/server/tls.go5
-rw-r--r--internal/sitemap/sitemap.go3
-rw-r--r--internal/vcs/repository.go5
-rw-r--r--internal/website/filemap.go2
-rw-r--r--internal/website/mux.go9
16 files changed, 42 insertions, 31 deletions
diff --git a/internal/atom/atom.go b/internal/atom/atom.go
index 19ad0d1..601c125 100644
--- a/internal/atom/atom.go
+++ b/internal/atom/atom.go
@@ -4,7 +4,7 @@ import (
 	"encoding/xml"
 	"time"
 
-	"website/internal/config"
+	"go.alanpearce.eu/website/internal/config"
 )
 
 func MakeTagURI(config *config.Config, specific string) string {
diff --git a/internal/builder/builder.go b/internal/builder/builder.go
index a4e44c6..f190b6a 100644
--- a/internal/builder/builder.go
+++ b/internal/builder/builder.go
@@ -10,11 +10,11 @@ import (
 	"slices"
 	"time"
 
-	"website/internal/config"
-	"website/internal/content"
-	"website/internal/log"
-	"website/internal/sitemap"
-	"website/templates"
+	"go.alanpearce.eu/website/internal/config"
+	"go.alanpearce.eu/website/internal/content"
+	"go.alanpearce.eu/website/internal/log"
+	"go.alanpearce.eu/website/internal/sitemap"
+	"go.alanpearce.eu/website/templates"
 
 	"github.com/a-h/templ"
 	mapset "github.com/deckarep/golang-set/v2"
diff --git a/internal/builder/template.go b/internal/builder/template.go
index 0be3214..91a40c4 100644
--- a/internal/builder/template.go
+++ b/internal/builder/template.go
@@ -7,9 +7,10 @@ import (
 	"path/filepath"
 	"strings"
 	"text/template"
-	"website/internal/atom"
-	"website/internal/config"
-	"website/internal/content"
+
+	"go.alanpearce.eu/website/internal/atom"
+	"go.alanpearce.eu/website/internal/config"
+	"go.alanpearce.eu/website/internal/content"
 
 	"github.com/PuerkitoBio/goquery"
 	"github.com/antchfx/xmlquery"
diff --git a/internal/config/config.go b/internal/config/config.go
index ca4782d..deb70e6 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -4,7 +4,8 @@ import (
 	"io/fs"
 	"net/url"
 	"path/filepath"
-	"website/internal/log"
+
+	"go.alanpearce.eu/website/internal/log"
 
 	"github.com/BurntSushi/toml"
 	"github.com/pkg/errors"
diff --git a/internal/content/posts.go b/internal/content/posts.go
index 5185d06..d56688d 100644
--- a/internal/content/posts.go
+++ b/internal/content/posts.go
@@ -8,7 +8,8 @@ import (
 	"slices"
 	"strings"
 	"time"
-	"website/internal/log"
+
+	"go.alanpearce.eu/website/internal/log"
 
 	"github.com/adrg/frontmatter"
 	mapset "github.com/deckarep/golang-set/v2"
diff --git a/internal/listenfd/listenfd.go b/internal/listenfd/listenfd.go
index 651c245..a45637e 100644
--- a/internal/listenfd/listenfd.go
+++ b/internal/listenfd/listenfd.go
@@ -5,7 +5,8 @@ import (
 	"net"
 	"os"
 	"strconv"
-	"website/internal/log"
+
+	"go.alanpearce.eu/website/internal/log"
 
 	"github.com/pkg/errors"
 )
diff --git a/internal/server/dev.go b/internal/server/dev.go
index aac869d..b984704 100644
--- a/internal/server/dev.go
+++ b/internal/server/dev.go
@@ -9,7 +9,8 @@ import (
 	"path/filepath"
 	"slices"
 	"time"
-	"website/internal/log"
+
+	"go.alanpearce.eu/website/internal/log"
 
 	"github.com/fsnotify/fsnotify"
 	"github.com/pkg/errors"
diff --git a/internal/server/logging.go b/internal/server/logging.go
index 7df35d7..20f0a92 100644
--- a/internal/server/logging.go
+++ b/internal/server/logging.go
@@ -2,7 +2,8 @@ package server
 
 import (
 	"net/http"
-	"website/internal/log"
+
+	"go.alanpearce.eu/website/internal/log"
 )
 
 type LoggingResponseWriter struct {
diff --git a/internal/server/mime.go b/internal/server/mime.go
index 696a0ad..3a1ec8a 100644
--- a/internal/server/mime.go
+++ b/internal/server/mime.go
@@ -2,7 +2,8 @@ package server
 
 import (
 	"mime"
-	"website/internal/log"
+
+	"go.alanpearce.eu/website/internal/log"
 )
 
 var newMIMEs = map[string]string{
diff --git a/internal/server/server.go b/internal/server/server.go
index c7b5659..c17c8d6 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -13,11 +13,11 @@ import (
 	"strings"
 	"time"
 
-	"website/internal/builder"
-	cfg "website/internal/config"
-	"website/internal/log"
-	"website/internal/vcs"
-	"website/internal/website"
+	"go.alanpearce.eu/website/internal/builder"
+	cfg "go.alanpearce.eu/website/internal/config"
+	"go.alanpearce.eu/website/internal/log"
+	"go.alanpearce.eu/website/internal/vcs"
+	"go.alanpearce.eu/website/internal/website"
 
 	"github.com/ardanlabs/conf/v3"
 	"github.com/osdevisnot/sorvor/pkg/livereload"
diff --git a/internal/server/tcp.go b/internal/server/tcp.go
index b38da3d..4efde7d 100644
--- a/internal/server/tcp.go
+++ b/internal/server/tcp.go
@@ -1,7 +1,7 @@
 package server
 
 import (
-	"website/internal/listenfd"
+	"go.alanpearce.eu/website/internal/listenfd"
 )
 
 func (s *Server) serveTCP() error {
diff --git a/internal/server/tls.go b/internal/server/tls.go
index fa9e69a..d48b5df 100644
--- a/internal/server/tls.go
+++ b/internal/server/tls.go
@@ -6,8 +6,9 @@ import (
 	"net"
 	"net/http"
 	"strconv"
-	"website/internal/listenfd"
-	"website/internal/log"
+
+	"go.alanpearce.eu/website/internal/listenfd"
+	"go.alanpearce.eu/website/internal/log"
 
 	"github.com/ardanlabs/conf/v3"
 	"github.com/caddyserver/caddy/v2"
diff --git a/internal/sitemap/sitemap.go b/internal/sitemap/sitemap.go
index a45ebd9..b166f73 100644
--- a/internal/sitemap/sitemap.go
+++ b/internal/sitemap/sitemap.go
@@ -3,7 +3,8 @@ package sitemap
 import (
 	"io"
 	"time"
-	"website/internal/config"
+
+	"go.alanpearce.eu/website/internal/config"
 
 	"github.com/snabb/sitemap"
 )
diff --git a/internal/vcs/repository.go b/internal/vcs/repository.go
index 625fbd2..db212e9 100644
--- a/internal/vcs/repository.go
+++ b/internal/vcs/repository.go
@@ -2,8 +2,9 @@ package vcs
 
 import (
 	"os"
-	"website/internal/config"
-	"website/internal/log"
+
+	"go.alanpearce.eu/website/internal/config"
+	"go.alanpearce.eu/website/internal/log"
 
 	"github.com/go-git/go-git/v5"
 	"github.com/pkg/errors"
diff --git a/internal/website/filemap.go b/internal/website/filemap.go
index 28dcd40..8e16d7e 100644
--- a/internal/website/filemap.go
+++ b/internal/website/filemap.go
@@ -10,7 +10,7 @@ import (
 	"path/filepath"
 	"strings"
 
-	"website/internal/log"
+	"go.alanpearce.eu/website/internal/log"
 
 	"github.com/pkg/errors"
 )
diff --git a/internal/website/mux.go b/internal/website/mux.go
index 265dd20..0c2a47d 100644
--- a/internal/website/mux.go
+++ b/internal/website/mux.go
@@ -4,10 +4,11 @@ import (
 	"encoding/json"
 	"net/http"
 	"strings"
-	"website/internal/config"
-	ihttp "website/internal/http"
-	"website/internal/log"
-	"website/templates"
+
+	"go.alanpearce.eu/website/internal/config"
+	ihttp "go.alanpearce.eu/website/internal/http"
+	"go.alanpearce.eu/website/internal/log"
+	"go.alanpearce.eu/website/templates"
 
 	"github.com/benpate/digit"
 	"github.com/kevinpollet/nego"