From 59111873df6d6d420bb2f87e671815ed766beb68 Mon Sep 17 00:00:00 2001 From: teizz Date: Thu, 30 Sep 2021 12:58:28 +0200 Subject: [PATCH] is this module working now? --- cmd/go.mod | 2 +- pathway.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/go.mod b/cmd/go.mod index f5a5b5a..7f85adb 100644 --- a/cmd/go.mod +++ b/cmd/go.mod @@ -3,5 +3,5 @@ module main go 1.16 require ( - git.nxdomain.nl/mattijs/pathway@latest + git.nxdomain.nl/mattijs/pathway v0.1.0 ) diff --git a/pathway.go b/pathway.go index a9ed2d0..8cbd533 100644 --- a/pathway.go +++ b/pathway.go @@ -47,7 +47,7 @@ type Queue struct { gets int32 } -func pathHandler(w http.ResponseWriter, r *http.Request) { +func PathHandler(w http.ResponseWriter, r *http.Request) { pathID := r.URL.Path if len(pathID) < 2 {