diff --git a/README.md b/README.md index b5e3fa4..d086ee6 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ support of a search engineering team, but at a fraction of the cost! ## Documentation -Full documentation is available on godoc at https://pkg.go.dev/github.com/omc/bonsai-api-go/v1/bonsai/ +Full documentation is available on godoc at https://pkg.go.dev/github.com/omc/bonsai-api-go/v2/bonsai/ ### Self-hosting the docs diff --git a/bonsai/client.go b/bonsai/client.go index 008d63b..3e6ea19 100644 --- a/bonsai/client.go +++ b/bonsai/client.go @@ -22,7 +22,7 @@ import ( // Client representation configuration. const ( // Version reflects this API Client's version. - Version = "1.0.0" + Version = "v2.0.0" // BaseEndpoint is the target API URL base location. BaseEndpoint = "https://api.bonsai.io" // UserAgent is the internally used value for the AccessKey-Agent header diff --git a/bonsai/client_test.go b/bonsai/client_test.go index 43f64cb..75fe76f 100644 --- a/bonsai/client_test.go +++ b/bonsai/client_test.go @@ -19,7 +19,7 @@ import ( "gopkg.in/dnaeon/go-vcr.v3/recorder" "github.com/go-chi/chi/v5" - "github.com/omc/bonsai-api-go/v1/bonsai" + "github.com/omc/bonsai-api-go/v2/bonsai" ) const ( @@ -125,7 +125,7 @@ func (s *ClientVCRTestSuite) SetupSuite() { bonsai.WithApplication( bonsai.Application{ Name: "bonsai-api-go", - Version: "v1", + Version: "v2.0.0", }, ), bonsai.WithCredentialPair( diff --git a/bonsai/cluster_test.go b/bonsai/cluster_test.go index 390d4df..80f04f4 100644 --- a/bonsai/cluster_test.go +++ b/bonsai/cluster_test.go @@ -7,7 +7,7 @@ import ( "net/http" "net/url" - "github.com/omc/bonsai-api-go/v1/bonsai" + "github.com/omc/bonsai-api-go/v2/bonsai" ) func (s *ClientMockTestSuite) TestClusterClient_All() { diff --git a/bonsai/plan_test.go b/bonsai/plan_test.go index d4eca04..c4f64fa 100644 --- a/bonsai/plan_test.go +++ b/bonsai/plan_test.go @@ -6,7 +6,7 @@ import ( "net/http" "net/url" - "github.com/omc/bonsai-api-go/v1/bonsai" + "github.com/omc/bonsai-api-go/v2/bonsai" ) func (s *ClientMockTestSuite) TestPlanClient_All() { diff --git a/bonsai/release_test.go b/bonsai/release_test.go index c2987da..e7e38a3 100644 --- a/bonsai/release_test.go +++ b/bonsai/release_test.go @@ -7,7 +7,7 @@ import ( "net/http" "net/url" - "github.com/omc/bonsai-api-go/v1/bonsai" + "github.com/omc/bonsai-api-go/v2/bonsai" ) func (s *ClientMockTestSuite) TestReleaseClient_All() { diff --git a/bonsai/space_test.go b/bonsai/space_test.go index 5647c65..6f8e4de 100644 --- a/bonsai/space_test.go +++ b/bonsai/space_test.go @@ -7,7 +7,7 @@ import ( "net/http" "net/url" - "github.com/omc/bonsai-api-go/v1/bonsai" + "github.com/omc/bonsai-api-go/v2/bonsai" ) // Mocked Tests diff --git a/go.mod b/go.mod index 873435d..971db5b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/omc/bonsai-api-go/v1 +module github.com/omc/bonsai-api-go/v2 go 1.22