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

no support go 1.15.6 #3028

Closed
baso4 opened this issue Jan 3, 2021 · 1 comment
Closed

no support go 1.15.6 #3028

baso4 opened this issue Jan 3, 2021 · 1 comment

Comments

@baso4
Copy link

baso4 commented Jan 3, 2021

Ⅰ. Issue Description

quota.go does not match to target system, File will be ignored by build system

Ⅱ. Describe what happened

in main.go unresolved reference quota.SetQuotaDriver

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

go 1.15.6
mac 10.15.6 (19G73)

@yyb196
Copy link
Collaborator

yyb196 commented Jun 23, 2021

it's not a bug relevant to golang version. It's your GOPATH envrionment variable which set incorrect.

You can use following steps to get it right:

# in your work directory where you want pouch source code put
mkdir -p $(pwd)/pouch/src/github.com/alibaba; cd $(pwd)/pouch/src/github.com/alibaba;
git clone git@github.com:alibaba/pouch.git
cd pouch
# the output is the GOPATH you should use.
echo "export GOPATH=$(cd ../../../..; pwd):$(pwd)/vendor"

You can open pouch source using vscode or vim, set the GOPATH to the output the above instruction. Pouch source code root is $(pwd)/pouch/src/github.com/alibaba/pouch

@yyb196 yyb196 closed this as completed Jun 23, 2021
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

2 participants