Update usage example: Use /v4 in import

This commit is contained in:
Stian Eikeland 2018-11-30 15:01:09 +01:00 committed by GitHub
parent 1fd77dd987
commit 579db243a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,12 @@ There's a tiny bit of additional information over at my [blog](https://blog.eike
## Usage ## ## Usage ##
```go
import "github.com/stianeikeland/go-rpio/v4"
```
If you're using an older go.mod incompatible you should instead use:
```go ```go
import "github.com/stianeikeland/go-rpio" import "github.com/stianeikeland/go-rpio"
``` ```