aboutsummaryrefslogtreecommitdiff
path: root/http/main.go
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2020-11-15 11:43:36 -0500
committerMitch Riedstra <mitch@riedstra.us>2020-11-15 11:43:36 -0500
commitf16aee45dc72680a126474e0388b8bd9d1fed568 (patch)
tree7fcd6d4efa1bc00e38dd20e067e9e7c2d95d7e95 /http/main.go
parent6c9e0c274d81b9b2256acf35a55fca0d3213b0d6 (diff)
downloadgo-website-0.0.8.tar.gz
go-website-0.0.8.tar.xz
Return a router whih implements hander.v0.0.8
Diffstat (limited to 'http/main.go')
-rw-r--r--http/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/main.go b/http/main.go
index d7c6399..a4ed7f6 100644
--- a/http/main.go
+++ b/http/main.go
@@ -27,7 +27,7 @@ var NewPage func(string) page.Page = func(u string) page.Page {
// index is called
var ReindexRedirectTo = "/fullIndex"
-func GetHandler() http.Handler {
+func GetHandler() *mux.Router {
if NewPage == nil {
fmt.Fprintln(os.Stderr, "Warning, global NewPage method is not defined!")
}