diff --git a/README.md b/README.md index 51c3091..4dfc493 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ upload [![Go](https://github.com/issue9/upload/workflows/Go/badge.svg)](https://github.com/issue9/upload/actions?query=workflow%3AGo) [![license](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](https://opensource.org/licenses/MIT) [![codecov](https://codecov.io/gh/issue9/upload/branch/master/graph/badge.svg)](https://codecov.io/gh/issue9/upload) -[![PkgGoDev](https://pkg.go.dev/badge/github.com/issue9/upload/v2)](https://pkg.go.dev/github.com/issue9/upload/v2) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/issue9/upload/v3)](https://pkg.go.dev/github.com/issue9/upload/v3) [![Go version](https://img.shields.io/github/go-mod/go-version/issue9/upload)](https://golang.org) ====== @@ -24,7 +24,7 @@ func(w http.ResponseWriter, r *http.Request) { ---- ```shell -go get github.com/issue9/upload/v2 +go get github.com/issue9/upload/v3 ``` 版权 diff --git a/example/main.go b/example/main.go index b88f10e..7b7956d 100644 --- a/example/main.go +++ b/example/main.go @@ -9,7 +9,7 @@ import ( "log" "net/http" - "github.com/issue9/upload/v2" + "github.com/issue9/upload/v3" ) const addr = ":8082" diff --git a/go.mod b/go.mod index 872c0a5..8a6b7b6 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/issue9/upload/v2 +module github.com/issue9/upload/v3 require ( github.com/issue9/assert/v4 v4.3.1