Skip to content

Commit be8728b

Browse files
franchbclaude
andauthored
fix(go-client): use monorepo-compatible module path (#392)
The Go SDK declared its module as github.com/vectorize-io/hindsight-client-go, but that repository doesn't exist. Update to github.com/vectorize-io/hindsight/hindsight-clients/go to match the actual monorepo path, enabling standard `go get` imports with directory-prefixed tags. Also enables isGoSubmodule in the OpenAPI generator config and updates all import references across tests, docs, and the client generation script. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 917893a commit be8728b

15 files changed

Lines changed: 19 additions & 19 deletions

File tree

hindsight-clients/go/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ go get golang.org/x/net/context
2222
Put the package under your project folder and add the following in import:
2323

2424
```go
25-
import hindsight "github.com/vectorize-io/hindsight-client-go"
25+
import hindsight "github.com/vectorize-io/hindsight/hindsight-clients/go"
2626
```
2727

2828
To use a proxy, set the environment variable `HTTP_PROXY`:

hindsight-clients/go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/vectorize-io/hindsight-client-go
1+
module github.com/vectorize-io/hindsight/hindsight-clients/go
22

33
go 1.18
44

hindsight-clients/go/openapi-generator-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ outputDir: ./
33
inputSpec: ../../hindsight-docs/static/openapi.json
44
packageName: hindsight
55
gitUserId: vectorize-io
6-
gitRepoId: hindsight-client-go
7-
isGoSubmodule: false
6+
gitRepoId: hindsight/hindsight-clients/go
7+
isGoSubmodule: true
88
enumClassPrefix: true
99
structPrefix: true
1010
generateInterfaces: true

hindsight-clients/go/test/api_banks_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hindsight-clients/go/test/api_directives_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hindsight-clients/go/test/api_documents_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hindsight-clients/go/test/api_entities_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hindsight-clients/go/test/api_memory_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hindsight-clients/go/test/api_mental_models_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hindsight-clients/go/test/api_monitoring_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)