fix module name

This commit is contained in:
2026-04-04 12:11:43 -07:00
parent d5c2c1ddf2
commit f1099e4a88
2 changed files with 3 additions and 3 deletions

2
go.mod
View File

@ -1,3 +1,3 @@
module github.com/nolwn/go-router module gitea.nolanhellyer.com/nolan/go-router
go 1.15 go 1.15

View File

@ -2,7 +2,7 @@ package router
import ( import (
"fmt" "fmt"
"io/ioutil" "io"
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"
"testing" "testing"
@ -115,7 +115,7 @@ func matchAndCheckRoute(r *Router, method string, path string, expectedBody stri
return return
} }
body, _ := ioutil.ReadAll(rr.Body) body, _ := io.ReadAll(rr.Body)
if string(body) != string([]byte(expectedBody)) { if string(body) != string([]byte(expectedBody)) {
err = fmt.Errorf( err = fmt.Errorf(