summaryrefslogtreecommitdiff
path: root/src/http
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2023-10-28 10:03:51 +0200
committerBrian Picciano <mediocregopher@gmail.com>2023-10-28 10:03:51 +0200
commitb02115e390bb58dc7eac3b474c83f9e6b4ee2ded (patch)
tree8a7df4a3c3fd0dc17dd8aa3d56f2b1cc3f100cce /src/http
parentba2d581975c3b1b63f1794d3bcd912ad12e6f15b (diff)
Fix go module path
Diffstat (limited to 'src/http')
-rw-r--r--src/http/assets.go4
-rw-r--r--src/http/auth.go2
-rw-r--r--src/http/csrf.go2
-rw-r--r--src/http/drafts.go4
-rw-r--r--src/http/feed.go4
-rw-r--r--src/http/http.go10
-rw-r--r--src/http/middleware.go4
-rw-r--r--src/http/posts.go8
-rw-r--r--src/http/tpl.go2
9 files changed, 20 insertions, 20 deletions
diff --git a/src/http/assets.go b/src/http/assets.go
index 1a8f520..70653e0 100644
--- a/src/http/assets.go
+++ b/src/http/assets.go
@@ -9,8 +9,8 @@ import (
"strings"
"time"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/http/apiutil"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/post/asset"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/post/asset"
)
func (a *api) managePostAssetsHandler() http.Handler {
diff --git a/src/http/auth.go b/src/http/auth.go
index 3ad026a..523ccd5 100644
--- a/src/http/auth.go
+++ b/src/http/auth.go
@@ -5,7 +5,7 @@ import (
"net/http"
"time"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/http/apiutil"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
"golang.org/x/crypto/bcrypt"
)
diff --git a/src/http/csrf.go b/src/http/csrf.go
index a64e37e..8606360 100644
--- a/src/http/csrf.go
+++ b/src/http/csrf.go
@@ -6,7 +6,7 @@ import (
"net/http"
"net/url"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/http/apiutil"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
)
func checkCSRF(r *http.Request, publicURL *url.URL) error {
diff --git a/src/http/drafts.go b/src/http/drafts.go
index 4b98bc8..90ad353 100644
--- a/src/http/drafts.go
+++ b/src/http/drafts.go
@@ -4,8 +4,8 @@ import (
"fmt"
"net/http"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/http/apiutil"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/post"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/post"
)
func (a *api) manageDraftPostsHandler() http.Handler {
diff --git a/src/http/feed.go b/src/http/feed.go
index deaeb80..0472c27 100644
--- a/src/http/feed.go
+++ b/src/http/feed.go
@@ -5,8 +5,8 @@ import (
"net/http"
"github.com/gorilla/feeds"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/http/apiutil"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/post"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/post"
)
func (a *api) renderFeedHandler() http.Handler {
diff --git a/src/http/http.go b/src/http/http.go
index 4b98d2b..7444e7c 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -15,11 +15,11 @@ import (
"strings"
"time"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/cache"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/cfg"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/http/apiutil"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/post"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/post/asset"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/cache"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/cfg"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/post"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/post/asset"
"github.com/mediocregopher/mediocre-go-lib/v2/mctx"
"github.com/mediocregopher/mediocre-go-lib/v2/mlog"
)
diff --git a/src/http/middleware.go b/src/http/middleware.go
index a21511f..6611136 100644
--- a/src/http/middleware.go
+++ b/src/http/middleware.go
@@ -9,8 +9,8 @@ import (
"sync"
"time"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/cache"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/http/apiutil"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/cache"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
"github.com/mediocregopher/mediocre-go-lib/v2/mctx"
"github.com/mediocregopher/mediocre-go-lib/v2/mlog"
)
diff --git a/src/http/posts.go b/src/http/posts.go
index b1dbc35..4c1da56 100644
--- a/src/http/posts.go
+++ b/src/http/posts.go
@@ -15,10 +15,10 @@ import (
"github.com/gomarkdown/markdown"
"github.com/gomarkdown/markdown/html"
"github.com/gomarkdown/markdown/parser"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/gmi"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/http/apiutil"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/post"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/post/asset"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/gmi"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/post"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/post/asset"
"github.com/mediocregopher/mediocre-go-lib/v2/mctx"
)
diff --git a/src/http/tpl.go b/src/http/tpl.go
index bb5750d..3f6b136 100644
--- a/src/http/tpl.go
+++ b/src/http/tpl.go
@@ -11,7 +11,7 @@ import (
"strings"
"time"
- "github.com/mediocregopher/blog.mediocregopher.com/srv/http/apiutil"
+ "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
)
//go:embed tpl