Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
momer committed May 9, 2024
1 parent cf3dfef commit 92f88c4
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion bonsai/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions bonsai/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -125,7 +125,7 @@ func (s *ClientVCRTestSuite) SetupSuite() {
bonsai.WithApplication(
bonsai.Application{
Name: "bonsai-api-go",
Version: "v1",
Version: "v2.0.0",
},
),
bonsai.WithCredentialPair(
Expand Down
2 changes: 1 addition & 1 deletion bonsai/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion bonsai/plan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion bonsai/release_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion bonsai/space_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
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/omc/bonsai-api-go/v1
module github.com/omc/bonsai-api-go/v2

go 1.22

Expand Down

0 comments on commit 92f88c4

Please sign in to comment.