diff --git a/README.md b/README.md index d10dd5d4..0a38b2bb 100644 --- a/README.md +++ b/README.md @@ -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") @@ -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" ) diff --git a/go.mod b/go.mod index 18b3d0a9..e7919ed0 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/smutel/go-netbox +module github.com/smutel/go-netbox/v3 go 1.16