Skip to content

Commit a42f8b6

Browse files
committed
Fix Go modules usage.
1 parent fe852c8 commit a42f8b6

File tree

1,304 files changed

+9567
-5347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,304 files changed

+9567
-5347
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ package main
3131
import (
3232
"log"
3333

34-
"github.com/netbox-community/go-netbox/netbox"
34+
"github.com/netbox-community/go-netbox/v3/netbox"
3535
)
3636

3737
func main() {
@@ -53,7 +53,7 @@ import (
5353
"log"
5454

5555
transport "github.com/go-openapi/runtime/client"
56-
"github.com/netbox-community/go-netbox/netbox/client"
56+
"github.com/netbox-community/go-netbox/v3/netbox/client"
5757
)
5858

5959
func main() {
@@ -87,8 +87,8 @@ package main
8787
import (
8888
"log"
8989

90-
"github.com/netbox-community/go-netbox/netbox"
91-
"github.com/netbox-community/go-netbox/netbox/client/virtualization"
90+
"github.com/netbox-community/go-netbox/v3/netbox"
91+
"github.com/netbox-community/go-netbox/v3/netbox/client/virtualization"
9292
)
9393

9494
var status = "active"

examples/customhost/customhost.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"fmt"
2020
"os"
2121

22-
"github.com/netbox-community/go-netbox/netbox/client"
22+
"github.com/netbox-community/go-netbox/v3/netbox/client"
2323
)
2424

2525
func main() {

examples/debugflag/debugflag.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121

2222
runtimeclient "github.com/go-openapi/runtime/client"
2323
"github.com/go-openapi/strfmt"
24-
"github.com/netbox-community/go-netbox/netbox/client"
24+
"github.com/netbox-community/go-netbox/v3/netbox/client"
2525
)
2626

2727
func main() {

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/netbox-community/go-netbox
1+
module github.com/netbox-community/go-netbox/v3
22

33
go 1.20
44

netbox/client/circuits/circuits_circuit_terminations_bulk_delete_responses.go

+10-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/client/circuits/circuits_circuit_terminations_bulk_partial_update_parameters.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/client/circuits/circuits_circuit_terminations_bulk_partial_update_responses.go

+11-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/client/circuits/circuits_circuit_terminations_bulk_update_parameters.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/client/circuits/circuits_circuit_terminations_bulk_update_responses.go

+11-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/client/circuits/circuits_circuit_terminations_create_parameters.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/client/circuits/circuits_circuit_terminations_create_responses.go

+11-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/client/circuits/circuits_circuit_terminations_delete_responses.go

+10-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/client/circuits/circuits_circuit_terminations_list_responses.go

+11-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/client/circuits/circuits_circuit_terminations_partial_update_parameters.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/client/circuits/circuits_circuit_terminations_partial_update_responses.go

+11-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)