Private
Public Access
0
0

is this module working now?

This commit is contained in:
teizz
2021-09-30 12:58:28 +02:00
parent 979ef108f4
commit 59111873df
2 changed files with 2 additions and 2 deletions

View File

@@ -3,5 +3,5 @@ module main
go 1.16 go 1.16
require ( require (
git.nxdomain.nl/mattijs/pathway@latest git.nxdomain.nl/mattijs/pathway v0.1.0
) )

View File

@@ -47,7 +47,7 @@ type Queue struct {
gets int32 gets int32
} }
func pathHandler(w http.ResponseWriter, r *http.Request) { func PathHandler(w http.ResponseWriter, r *http.Request) {
pathID := r.URL.Path pathID := r.URL.Path
if len(pathID) < 2 { if len(pathID) < 2 {