Skip to content

Commit 4487282

Browse files
committed
docs: add instructions for version v4
1 parent af3461a commit 4487282

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ Versioning
77
----------
88
Old v1-v3 versions exist in the root of the repository for compatiblity reasons and will only receive bug fixes.
99

10-
The current stable version is [*v4*](v4/).
10+
The current stable version is [*v4*](v4/) and is fully go-mod compatible.
1111

1212
Usage
1313
-----
1414
```bash
1515
$ go get github.com/blang/semver/v4
16+
# Or use fixed versions
17+
$ go get github.com/blang/semver/v4@v4.0.0
1618
```
1719
Note: Always vendor your dependencies or fix on a specific version tag.
1820

@@ -99,7 +101,7 @@ if expectedRange(v) {
99101
Example
100102
-----
101103

102-
Have a look at full examples in [examples/main.go](examples/main.go)
104+
Have a look at full examples in [v4/examples/main.go](v4/examples/main.go)
103105

104106
```go
105107
import github.com/blang/semver/v4

0 commit comments

Comments
 (0)