is this module working now?
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user