Open ningzio opened 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.02%. Comparing base (
8690859
) to head (5067951
). Report is 130 commits behind head on master.
Bot detected the issue body's language is not English, translate it automatically. π―ππ»π§βπ€βπ§π«π§πΏβπ€βπ§π»π©πΎβπ€βπ¨πΏπ¬πΏ
3420
this PR fixed the error
no matched module
when usinggoctl api
inside of a go workspace.in go workspace, command
go list -m -f '{{.GoMod}}'
only lists modules declared in go.work, so goctl can't can the go.mod path even it's already initilized if the project is not in go.work.to fix this, goctl should
go env GOMOD
to determine whether the project is a go module.go work use .
to add the project to go.work.