我有這個(gè)目錄結(jié)構(gòu):https://github.com/netjet-chrome-extension/netjet-mono/tree/master/examples/projects/golang我嘗試運(yùn)行 test.sh,它包括:#!/usr/bin/env bashcd "$(dirname "$BASH_SOURCE")"export GOPATH="$PWD"go test sourcegraph_go_selenium但我收到此錯(cuò)誤:無法加載包:包 sourcegraph_go_selenium:在以下任何一個(gè)中都找不到包“sourcegraph_go_selenium”:/usr/lib/go-1.10/src/sourcegraph_go_selenium(來自 $GOROOT)/home/oleg/codes/netjet/netjet-mono/examples /projects/golang/src/sourcegraph_go_selenium(來自 $GOPATH)GOPATH設(shè)置正確,為什么找不到sourcegraph_go_selenium包?這個(gè)包裹就在那里,在src/sourcegraph_go_selenium...?
- 1 回答
- 0 關(guān)注
- 180 瀏覽
添加回答
舉報(bào)
0/150
提交
取消