vanity go module url
This commit is contained in:
parent
a0a0134367
commit
42f59eff1d
@ -6,7 +6,7 @@ Just a simple zerolog based request logging http middleware. It also sets a `X-R
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
go get -v git.xsfx.dev/xsteadfastx/logginghandler
|
go get -v go.xsfx.dev/logginghandler
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module git.xsfx.dev/xsteadfastx/logginghandler
|
module go.xsfx.dev/logginghandler
|
||||||
|
|
||||||
go 1.15
|
go 1.15
|
||||||
|
|
||||||
|
@ -7,8 +7,8 @@ import (
|
|||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"git.xsfx.dev/xsteadfastx/logginghandler"
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
"go.xsfx.dev/logginghandler"
|
||||||
)
|
)
|
||||||
|
|
||||||
func testHandler(w http.ResponseWriter, r *http.Request) {
|
func testHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
Loading…
Reference in New Issue
Block a user