Skip to content

Commit 3edf269

Browse files
committed
More docs
1 parent 53934f5 commit 3edf269

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
[action-img]: https://github.com/bcomnes/goversion/actions/workflows/test.yml/badge.svg
77
[action-url]: https://github.com/bcomnes/goversion/actions/workflows/test.yml
8-
[pkg-go-dev-img]: https://pkg.go.dev/badge/github.com/bcomnes/goversion
9-
[pkg-go-dev-url]: https://pkg.go.dev/github.com/bcomnes/goversion
8+
[pkg-go-dev-img]: https://pkg.go.dev/badge/github.com/bcomnes/goversion/v2
9+
[pkg-go-dev-url]: https://pkg.go.dev/github.com/bcomnes/goversion/v2
1010
[socket-image]: https://socket.dev/api/badge/go/package/github.com/bcomnes/goversion?version=v1.0.2
1111
[socket-url]: https://socket.dev/go/package/github.com/bcomnes/goversion?version=v1.0.2
1212

@@ -31,7 +31,7 @@ Install via Go modules:
3131

3232
```console
3333
# Install go version as a tool
34-
go get -tool github.com/bcomnes/goversion
34+
go get -tool github.com/bcomnes/goversion/v2
3535
```
3636

3737
## Usage
@@ -119,7 +119,7 @@ import (
119119
"fmt"
120120
"log"
121121

122-
"github.com/bcomnes/goversion/pkg"
122+
"github.com/bcomnes/goversion/v2/pkg"
123123
)
124124

125125
func main() {

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@
5252
// the commit with the new version.
5353
//
5454
// For more detailed API documentation, please see the documentation in the "pkg" package
55-
// or visit [PkgGoDev](https://pkg.go.dev/github.com/bcomnes/goversion).
55+
// or visit [PkgGoDev](https://pkg.go.dev/github.com/bcomnes/goversion/v2).
5656
package main

0 commit comments

Comments
 (0)