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

How to specify a repository when moudle is turned on (windows) #240

Open
15083787153 opened this issue Mar 19, 2024 · 0 comments
Open

Comments

@15083787153
Copy link

15083787153 commented Mar 19, 2024

this is my command:
xgo git.woa.com/CloudBusinessManage/cbm-baseservice-go

this is my workpath:
D:\GoStudy\cbm-baseservice-go

this is my go.mod moudle:
module git.woa.com/CloudBusinessManage/cbm-baseservice-go

this is error:

Checking for required docker image techknowlogick/xgo:latest... found.
Cross compiling non-local repository: git.woa.com/CloudBusinessManage/cbm-baseservice-go/server...
Fetching main repository git.woa.com/CloudBusinessManage/cbm-baseservice-go/server...
go: modules disabled by GO111MODULE=off; see 'go help modules'
/build.sh: line 114: cd: /go/src/git.woa.com/CloudBusinessManage/cbm-baseservice-go/server: No such file or directory
2024/03/19 10:42:29 Failed to cross compile package: exit status 1.
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

No branches or pull requests

1 participant