playground icon indicating copy to clipboard operation
playground copied to clipboard

Reproduction 'go/build import error when using ApplyInterface'

Open sunyakun opened this issue 2 years ago • 0 comments

Explain your user case and expected results

Test Case

Use gorm/gen generate query code, using ApplyInterface, the generate script is built in the host machine but running in a docker container.

Expected

Generate code success.

Actual

[error] get interface name or file fail: go/build: go list gorm.io/playground/query: fork/exec /Users/bytedance/sdk/go1.19.5/bin/go: no such file or directory

sunyakun avatar Aug 19 '23 13:08 sunyakun