Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make buildutil compatible with 'go work' #189

Merged
merged 2 commits into from
Feb 7, 2024
Merged

make buildutil compatible with 'go work' #189

merged 2 commits into from
Feb 7, 2024

Conversation

svenwltr
Copy link
Member

@svenwltr svenwltr commented Feb 7, 2024

Fixes this error.

INFO[0000] Collecting build information
go: -mod may only be set to readonly when in workspace mode, but it is set to "mod"
	Remove the -mod flag to use the default readonly value,
	or set GOWORK=off to disable workspace mode.
ERRO[0000] failed to run `go list -m -mod=mod`: exit status 1

I think the flags are not needed anymore, because go modules are the default now.

@svenwltr svenwltr requested a review from a team as a code owner February 7, 2024 15:28
@svenwltr svenwltr self-assigned this Feb 7, 2024
@svenwltr svenwltr merged commit dc44120 into main Feb 7, 2024
1 check passed
@svenwltr svenwltr deleted the gowork branch February 7, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants