You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I add "gitlab.com/gitlab-org/api/client-go" to the imports in services/gitlab/gitlab.go, encore is changing the go.mod file from go 1.23.0 to go 1.23.4. Seems logical, as that Go version is what the new Gitlab client is requiring. However when I attempt to run the project (which is doing a simple "get user" endpoint as a smoke test), the encore run fails with:
Encore run fails with GOTOOLCHAIN=local error
environment
project design
detailed problem description
I am attempting to create an endpoint that uses the newer gitlab go-client.
The legacy client (https://github.com/xanzy/go-gitlab) has been archived as read-only, and while still viable, active development has moved to https://gitlab.com/gitlab-org/api/client-go.
When I add "gitlab.com/gitlab-org/api/client-go" to the imports in services/gitlab/gitlab.go, encore is changing the
go.mod
file fromgo 1.23.0
togo 1.23.4
. Seems logical, as that Go version is what the new Gitlab client is requiring. However when I attempt to run the project (which is doing a simple "get user" endpoint as a smoke test), theencore run
fails with:I get this message even though:
WorkAround
Work around is to persist with the legacy Github client, but I'd like to be make the new Gitlab client work.
What I've tried
go.mod
togo 1.23.0
does not allow the Gitlab client to buildThe text was updated successfully, but these errors were encountered: