Skip to content

Commit

Permalink
fix: Library version missing in go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
amhn committed Sep 16, 2022
1 parent d271bb6 commit 9d5df44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ Example:

## Using the client

The `github.com/smutel/go-netbox/netbox` package has some convenience functions for creating clients with the most common
The `github.com/smutel/go-netbox/v3/netbox` package has some convenience functions for creating clients with the most common
configurations you likely need while connecting to NetBox. `NewNetboxAt` allows you to specify a hostname
(including port, if you need it), and `NewNetboxWithAPIKey` allows you to specify both a hostname:port and API token.

```go
import (
"github.com/smutel/go-netbox/netbox"
"github.com/smutel/go-netbox/v3/netbox"
)
...
c := netbox.NewNetboxAt("your.netbox.host:8000")
Expand All @@ -44,8 +44,8 @@ import (
"os"

httptransport "github.com/go-openapi/runtime/client"
"github.com/smutel/go-netbox/netbox/client"
"github.com/smutel/go-netbox/netbox/client/dcim"
"github.com/smutel/go-netbox/v3/netbox/client"
"github.com/smutel/go-netbox/v3/netbox/client/dcim"

log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/smutel/go-netbox
module github.com/smutel/go-netbox/v3

go 1.16

Expand Down

0 comments on commit 9d5df44

Please sign in to comment.