Skip to content

Commit ef6fd55

Browse files
authored
Merge pull request #27 from qnighy/mod-prefix
Add /v4 suffix for go modules
2 parents 269c4c3 + cff0844 commit ef6fd55

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ import (
183183
"errors"
184184

185185
"github.com/k0kubun/pp"
186-
"github.com/srvc/fail"
186+
"github.com/srvc/fail/v4"
187187
)
188188

189189
var myErr = fail.New("this is the root cause")
@@ -285,7 +285,7 @@ package middleware
285285
import (
286286
"net/http"
287287

288-
"github.com/srvc/fail"
288+
"github.com/srvc/fail/v4"
289289
"github.com/creasty/gin-contrib/readbody"
290290
"github.com/gin-gonic/gin"
291291

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/srvc/fail
1+
module github.com/srvc/fail/v4
22

33
go 1.13
44

0 commit comments

Comments
 (0)