Closed szyhf closed 7 years ago
@szyhf Are rest of the auto-completion features working as expected?
@ramya-rao-a Thanks for reply !
Other auto-completion features works well. While type a function \ variable \ constant \ method it can provide tips as I expect.
If I call "Go: Add import", it can also list package in my $GOPATH and $GOROOT path.
If I imported an package, it can provide the struct \ function in the package too.
Ah! Looks like this happens only with built-in packages.
Can you try out any of your custom packages?
@ramya-rao-a :
Unfortunately, none of custom package or built-in packages work in my computer QAQ
We changed the way we get the information on packages in general in 0.6.63
Can you try from the code in master? All you have to do is
code --install-extension Go-latest.visx
from the location where you downloaded the above fileSeems not working, running response:
$> code --install-extension ./Go-latest.vsix
Extension 'Go-latest.vsix' was successfully installed!
Then close vscode and restart it.
Try to type built-in pkg like "strings" or custom pkg, still not work.
I'm wondering if there any possible reason may cased by directory access permission ? Like visit the pkg of GOPATH ? I check my gopath and I think it's fine (at least "o+rx").
here is my go config, I'm not sure if it can help:
//-------- Go configuration --------
// Infer GOPATH from the workspace root.
"go.inferGopath": false,
// On save, runs the configured Lint tool on current workspace, current package or nothing at all.
"go.lintOnSave": "off",
// On save, runs 'go vet' on current workspace, current package or nothing.
"go.vetOnSave": "package",
// Flags to pass to `go tool vet` (e.g. ['-all', '-shadow'])
"go.vetFlags": [
"-all"
],
// Pick 'gofmt', 'goimports' or 'goreturns' to run on format.
"go.formatTool": "goimports",
// [EXPERIMENTAL] Run formatting tool on save.
"go.formatOnSave": true,
// Use gotype on the file currently being edited and report any semantic or syntactic errors found after configured delay.
"go.liveErrors": {
"enabled": true,
"delay": 500
},
// Complete functions with their parameter signature
"go.useCodeSnippetsOnFunctionSuggest": true,
"go.autocompleteUnimportedPackages": true,
@szyhf Can you run Go: Browse Packages
and see if the strings
pkg is listed there?
Hi @ramya-rao-a , thanks for help!
While just restarting vs-code, run Browse Packages
will response Finding packages... Try after sometime.
.
And then I open the Developer Tools
and got an error, I'm not sure if it's related:
file:///Applications/Visual_Studio_Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js
(node:62118) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
After waiting for 10 minutes, Browse Packages
still response Finding packages... Try after sometime.
.
That might be the problem?
The error in the Dev tools is unrelated.
Looks like the code to fetch the packages is not completing and so you get that message and also the suggestion feature doesn't get the list of packages as well.
Can you run go list all
and see if it gives you results?
@ramya-rao-a Thanks for reply !
While running go list all
in my custom project, it will take about 3~6 seconds waiting and list all packages to console, quite a lot package is listed.
I tried to use go list all > test.txt
to save them to file, I got 5099 rows and some error is print in console like below:
➜ server git:(master) ✗ go list all > test.txt
can't load package: package github.com/golang/benchmarks/bench: code in directory /Users/back/Documents/Go/third/src/github.com/golang/benchmarks/bench expects import "golang.org/x/benchmarks/bench"
can't load package: package github.com/golang/benchmarks/build: code in directory /Users/back/Documents/Go/third/src/github.com/golang/benchmarks/build expects import "golang.org/x/benchmarks/build"
can't load package: package github.com/golang/benchmarks/driver: code in directory /Users/back/Documents/Go/third/src/github.com/golang/benchmarks/driver expects import "golang.org/x/benchmarks/driver"
can't load package: package github.com/golang/benchmarks/garbage: code in directory /Users/back/Documents/Go/third/src/github.com/golang/benchmarks/garbage expects import "golang.org/x/benchmarks/garbage"
can't load package: package github.com/golang/benchmarks/http: code in directory /Users/back/Documents/Go/third/src/github.com/golang/benchmarks/http expects import "golang.org/x/benchmarks/http"
can't load package: package github.com/golang/benchmarks/json: code in directory /Users/back/Documents/Go/third/src/github.com/golang/benchmarks/json expects import "golang.org/x/benchmarks/json"
can't load package: package github.com/golang/crypto/bcrypt: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/bcrypt expects import "golang.org/x/crypto/bcrypt"
can't load package: package github.com/golang/crypto/blake2s: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/blake2s expects import "golang.org/x/crypto/blake2s"
can't load package: package github.com/golang/crypto/blowfish: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/blowfish expects import "golang.org/x/crypto/blowfish"
can't load package: package github.com/golang/crypto/bn256: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/bn256 expects import "golang.org/x/crypto/bn256"
can't load package: package github.com/golang/crypto/cast5: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/cast5 expects import "golang.org/x/crypto/cast5"
can't load package: package github.com/golang/crypto/chacha20poly1305: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/chacha20poly1305 expects import "golang.org/x/crypto/chacha20poly1305"
can't load package: package github.com/golang/crypto/cryptobyte: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/cryptobyte expects import "golang.org/x/crypto/cryptobyte"
can't load package: package github.com/golang/crypto/curve25519: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/curve25519 expects import "golang.org/x/crypto/curve25519"
can't load package: package github.com/golang/crypto/hkdf: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/hkdf expects import "golang.org/x/crypto/hkdf"
can't load package: package github.com/golang/crypto/md4: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/md4 expects import "golang.org/x/crypto/md4"
can't load package: package github.com/golang/crypto/nacl/box: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/nacl/box expects import "golang.org/x/crypto/nacl/box"
can't load package: package github.com/golang/crypto/nacl/secretbox: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/nacl/secretbox expects import "golang.org/x/crypto/nacl/secretbox"
can't load package: package github.com/golang/crypto/ocsp: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/ocsp expects import "golang.org/x/crypto/ocsp"
can't load package: package github.com/golang/crypto/openpgp: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/openpgp expects import "golang.org/x/crypto/openpgp"
can't load package: package github.com/golang/crypto/openpgp/armor: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/openpgp/armor expects import "golang.org/x/crypto/openpgp/armor"
can't load package: package github.com/golang/crypto/openpgp/clearsign: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/openpgp/clearsign expects import "golang.org/x/crypto/openpgp/clearsign"
can't load package: package github.com/golang/crypto/openpgp/elgamal: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/openpgp/elgamal expects import "golang.org/x/crypto/openpgp/elgamal"
can't load package: package github.com/golang/crypto/openpgp/errors: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/openpgp/errors expects import "golang.org/x/crypto/openpgp/errors"
can't load package: package github.com/golang/crypto/openpgp/packet: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/openpgp/packet expects import "golang.org/x/crypto/openpgp/packet"
can't load package: package github.com/golang/crypto/openpgp/s2k: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/openpgp/s2k expects import "golang.org/x/crypto/openpgp/s2k"
can't load package: package github.com/golang/crypto/otr: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/otr expects import "golang.org/x/crypto/otr"
can't load package: package github.com/golang/crypto/pbkdf2: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/pbkdf2 expects import "golang.org/x/crypto/pbkdf2"
can't load package: package github.com/golang/crypto/poly1305: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/poly1305 expects import "golang.org/x/crypto/poly1305"
can't load package: package github.com/golang/crypto/ripemd160: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/ripemd160 expects import "golang.org/x/crypto/ripemd160"
can't load package: package github.com/golang/crypto/salsa20: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/salsa20 expects import "golang.org/x/crypto/salsa20"
can't load package: package github.com/golang/crypto/salsa20/salsa: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/salsa20/salsa expects import "golang.org/x/crypto/salsa20/salsa"
can't load package: package github.com/golang/crypto/scrypt: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/scrypt expects import "golang.org/x/crypto/scrypt"
can't load package: package github.com/golang/crypto/sha3: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/sha3 expects import "golang.org/x/crypto/sha3"
can't load package: package github.com/golang/crypto/ssh: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/ssh expects import "golang.org/x/crypto/ssh"
can't load package: package github.com/golang/crypto/ssh/agent: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/ssh/agent expects import "golang.org/x/crypto/ssh/agent"
can't load package: package github.com/golang/crypto/ssh/terminal: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/ssh/terminal expects import "golang.org/x/crypto/ssh/terminal"
can't load package: package github.com/golang/crypto/ssh/test: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/ssh/test expects import "golang.org/x/crypto/ssh/test"
can't load package: package github.com/golang/crypto/twofish: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/twofish expects import "golang.org/x/crypto/twofish"
can't load package: package github.com/golang/crypto/xtea: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/xtea expects import "golang.org/x/crypto/xtea"
can't load package: package github.com/golang/crypto/xts: code in directory /Users/back/Documents/Go/third/src/github.com/golang/crypto/xts expects import "golang.org/x/crypto/xts"
can't load package: package github.com/golang/net/bpf: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/bpf expects import "golang.org/x/net/bpf"
can't load package: package github.com/golang/net/context: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/context expects import "golang.org/x/net/context"
can't load package: package github.com/golang/net/context/ctxhttp: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/context/ctxhttp expects import "golang.org/x/net/context/ctxhttp"
can't load package: package github.com/golang/net/dict: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/dict expects import "golang.org/x/net/dict"
can't load package: package github.com/golang/net/html: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/html expects import "golang.org/x/net/html"
can't load package: package github.com/golang/net/html/atom: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/html/atom expects import "golang.org/x/net/html/atom"
can't load package: package github.com/golang/net/html/charset: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/html/charset expects import "golang.org/x/net/html/charset"
can't load package: package github.com/golang/net/http2: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/http2 expects import "golang.org/x/net/http2"
can't load package: package github.com/golang/net/icmp: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/icmp expects import "golang.org/x/net/icmp"
can't load package: package github.com/golang/net/idna: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/idna expects import "golang.org/x/net/idna"
can't load package: package github.com/golang/net/internal/iana: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/internal/iana expects import "golang.org/x/net/internal/iana"
can't load package: package github.com/golang/net/internal/nettest: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/internal/nettest expects import "golang.org/x/net/internal/nettest"
can't load package: package github.com/golang/net/internal/socket: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/internal/socket expects import "golang.org/x/net/internal/socket"
can't load package: package github.com/golang/net/internal/timeseries: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/internal/timeseries expects import "golang.org/x/net/internal/timeseries"
can't load package: package github.com/golang/net/ipv4: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/ipv4 expects import "golang.org/x/net/ipv4"
can't load package: package github.com/golang/net/ipv6: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/ipv6 expects import "golang.org/x/net/ipv6"
can't load package: package github.com/golang/net/netutil: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/netutil expects import "golang.org/x/net/netutil"
can't load package: package github.com/golang/net/proxy: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/proxy expects import "golang.org/x/net/proxy"
can't load package: package github.com/golang/net/publicsuffix: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/publicsuffix expects import "golang.org/x/net/publicsuffix"
can't load package: package github.com/golang/net/trace: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/trace expects import "golang.org/x/net/trace"
can't load package: package github.com/golang/net/webdav: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/webdav expects import "golang.org/x/net/webdav"
can't load package: package github.com/golang/net/websocket: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/websocket expects import "golang.org/x/net/websocket"
can't load package: package github.com/golang/net/xsrftoken: code in directory /Users/back/Documents/Go/third/src/github.com/golang/net/xsrftoken expects import "golang.org/x/net/xsrftoken"
can't load package: package github.com/golang/sync/semaphore: code in directory /Users/back/Documents/Go/third/src/github.com/golang/sync/semaphore expects import "golang.org/x/sync/semaphore"
can't load package: package github.com/golang/sync/singleflight: code in directory /Users/back/Documents/Go/third/src/github.com/golang/sync/singleflight expects import "golang.org/x/sync/singleflight"
can't load package: package github.com/golang/sys/unix: code in directory /Users/back/Documents/Go/third/src/github.com/golang/sys/unix expects import "golang.org/x/sys/unix"
can't load package: package github.com/golang/text/cases: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/cases expects import "golang.org/x/text/cases"
can't load package: package github.com/golang/text/collate: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/collate expects import "golang.org/x/text/collate"
can't load package: package github.com/golang/text/collate/build: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/collate/build expects import "golang.org/x/text/collate/build"
can't load package: package github.com/golang/text/collate/tools/colcmp: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/collate/tools/colcmp expects import "golang.org/x/text/collate/tools/colcmp"
can't load package: package github.com/golang/text/currency: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/currency expects import "golang.org/x/text/currency"
can't load package: package github.com/golang/text/encoding: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/encoding expects import "golang.org/x/text/encoding"
can't load package: package github.com/golang/text/encoding/charmap: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/encoding/charmap expects import "golang.org/x/text/encoding/charmap"
can't load package: package github.com/golang/text/encoding/japanese: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/encoding/japanese expects import "golang.org/x/text/encoding/japanese"
can't load package: package github.com/golang/text/encoding/korean: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/encoding/korean expects import "golang.org/x/text/encoding/korean"
can't load package: package github.com/golang/text/encoding/simplifiedchinese: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/encoding/simplifiedchinese expects import "golang.org/x/text/encoding/simplifiedchinese"
can't load package: package github.com/golang/text/encoding/traditionalchinese: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/encoding/traditionalchinese expects import "golang.org/x/text/encoding/traditionalchinese"
can't load package: package github.com/golang/text/encoding/unicode: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/encoding/unicode expects import "golang.org/x/text/encoding/unicode"
can't load package: package github.com/golang/text/encoding/unicode/utf32: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/encoding/unicode/utf32 expects import "golang.org/x/text/encoding/unicode/utf32"
can't load package: package github.com/golang/text/internal: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/internal expects import "golang.org/x/text/internal"
can't load package: package github.com/golang/text/internal/colltab: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/internal/colltab expects import "golang.org/x/text/internal/colltab"
can't load package: package github.com/golang/text/internal/export/idna: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/internal/export/idna expects import "golang.org/x/text/internal/export/idna"
can't load package: package github.com/golang/text/internal/format: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/internal/format expects import "golang.org/x/text/internal/format"
can't load package: package github.com/golang/text/internal/gen: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/internal/gen expects import "golang.org/x/text/internal/gen"
can't load package: package github.com/golang/text/internal/tag: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/internal/tag expects import "golang.org/x/text/internal/tag"
can't load package: package github.com/golang/text/internal/testtext: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/internal/testtext expects import "golang.org/x/text/internal/testtext"
can't load package: package github.com/golang/text/internal/triegen: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/internal/triegen expects import "golang.org/x/text/internal/triegen"
can't load package: package github.com/golang/text/internal/ucd: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/internal/ucd expects import "golang.org/x/text/internal/ucd"
can't load package: package github.com/golang/text/language: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/language expects import "golang.org/x/text/language"
can't load package: package github.com/golang/text/language/display: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/language/display expects import "golang.org/x/text/language/display"
can't load package: package github.com/golang/text/message: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/message expects import "golang.org/x/text/message"
can't load package: package github.com/golang/text/message/catalog: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/message/catalog expects import "golang.org/x/text/message/catalog"
can't load package: package github.com/golang/text/runes: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/runes expects import "golang.org/x/text/runes"
can't load package: package github.com/golang/text/search: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/search expects import "golang.org/x/text/search"
can't load package: package github.com/golang/text/secure: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/secure expects import "golang.org/x/text/secure"
can't load package: package github.com/golang/text/secure/precis: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/secure/precis expects import "golang.org/x/text/secure/precis"
can't load package: package github.com/golang/text/transform: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/transform expects import "golang.org/x/text/transform"
can't load package: package github.com/golang/text/unicode/bidi: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/unicode/bidi expects import "golang.org/x/text/unicode/bidi"
can't load package: package github.com/golang/text/unicode/cldr: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/unicode/cldr expects import "golang.org/x/text/unicode/cldr"
can't load package: package github.com/golang/text/unicode/norm: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/unicode/norm expects import "golang.org/x/text/unicode/norm"
can't load package: package github.com/golang/text/width: code in directory /Users/back/Documents/Go/third/src/github.com/golang/text/width expects import "golang.org/x/text/width"
can't load package: package github.com/golang/tools/benchmark/parse: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/benchmark/parse expects import "golang.org/x/tools/benchmark/parse"
can't load package: package github.com/golang/tools/blog: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/blog expects import "golang.org/x/tools/blog"
can't load package: package github.com/golang/tools/blog/atom: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/blog/atom expects import "golang.org/x/tools/blog/atom"
can't load package: package github.com/golang/tools/cmd/benchcmp: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/benchcmp expects import "golang.org/x/tools/cmd/benchcmp"
can't load package: package github.com/golang/tools/cmd/callgraph: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/callgraph expects import "golang.org/x/tools/cmd/callgraph"
can't load package: package github.com/golang/tools/cmd/cover: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/cover expects import "golang.org/x/tools/cmd/cover"
can't load package: package github.com/golang/tools/cmd/digraph: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/digraph expects import "golang.org/x/tools/cmd/digraph"
can't load package: package github.com/golang/tools/cmd/eg: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/eg expects import "golang.org/x/tools/cmd/eg"
can't load package: package github.com/golang/tools/cmd/godex: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/godex expects import "golang.org/x/tools/cmd/godex"
can't load package: package github.com/golang/tools/cmd/godoc: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/godoc expects import "golang.org/x/tools/cmd/godoc"
can't load package: package github.com/golang/tools/cmd/goimports: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/goimports expects import "golang.org/x/tools/cmd/goimports"
can't load package: package github.com/golang/tools/cmd/gorename: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/gorename expects import "golang.org/x/tools/cmd/gorename"
can't load package: package github.com/golang/tools/cmd/guru: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/guru expects import "golang.org/x/tools/cmd/guru"
can't load package: package github.com/golang/tools/cmd/html2article: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/html2article expects import "golang.org/x/tools/cmd/html2article"
can't load package: package github.com/golang/tools/cmd/present: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/present expects import "golang.org/x/tools/cmd/present"
can't load package: package github.com/golang/tools/cmd/ssadump: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/ssadump expects import "golang.org/x/tools/cmd/ssadump"
can't load package: package github.com/golang/tools/cmd/stringer: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/stringer expects import "golang.org/x/tools/cmd/stringer"
can't load package: package github.com/golang/tools/cmd/toolstash: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cmd/toolstash expects import "golang.org/x/tools/cmd/toolstash"
can't load package: package github.com/golang/tools/container/intsets: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/container/intsets expects import "golang.org/x/tools/container/intsets"
can't load package: package github.com/golang/tools/cover: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/cover expects import "golang.org/x/tools/cover"
can't load package: package github.com/golang/tools/go/ast/astutil: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/ast/astutil expects import "golang.org/x/tools/go/ast/astutil"
can't load package: package github.com/golang/tools/go/buildutil: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/buildutil expects import "golang.org/x/tools/go/buildutil"
can't load package: package github.com/golang/tools/go/callgraph: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/callgraph expects import "golang.org/x/tools/go/callgraph"
can't load package: package github.com/golang/tools/go/callgraph/cha: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/callgraph/cha expects import "golang.org/x/tools/go/callgraph/cha"
can't load package: package github.com/golang/tools/go/callgraph/rta: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/callgraph/rta expects import "golang.org/x/tools/go/callgraph/rta"
can't load package: package github.com/golang/tools/go/callgraph/static: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/callgraph/static expects import "golang.org/x/tools/go/callgraph/static"
can't load package: package github.com/golang/tools/go/gcexportdata: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/gcexportdata expects import "golang.org/x/tools/go/gcexportdata"
can't load package: package github.com/golang/tools/go/gcimporter15: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/gcimporter15 expects import "golang.org/x/tools/go/gcimporter15"
can't load package: package github.com/golang/tools/go/internal/gccgoimporter: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/internal/gccgoimporter expects import "golang.org/x/tools/go/internal/gccgoimporter"
can't load package: package github.com/golang/tools/go/pointer: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/pointer expects import "golang.org/x/tools/go/pointer"
can't load package: package github.com/golang/tools/go/ssa: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/ssa expects import "golang.org/x/tools/go/ssa"
can't load package: package github.com/golang/tools/go/ssa/interp: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/ssa/interp expects import "golang.org/x/tools/go/ssa/interp"
can't load package: package github.com/golang/tools/go/ssa/ssautil: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/ssa/ssautil expects import "golang.org/x/tools/go/ssa/ssautil"
can't load package: package github.com/golang/tools/go/types/typeutil: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/types/typeutil expects import "golang.org/x/tools/go/types/typeutil"
can't load package: package github.com/golang/tools/go/vcs: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/go/vcs expects import "golang.org/x/tools/go/vcs"
can't load package: package github.com/golang/tools/godoc: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/godoc expects import "golang.org/x/tools/godoc"
can't load package: package github.com/golang/tools/godoc/analysis: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/godoc/analysis expects import "golang.org/x/tools/godoc/analysis"
can't load package: package github.com/golang/tools/godoc/redirect: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/godoc/redirect expects import "golang.org/x/tools/godoc/redirect"
can't load package: package github.com/golang/tools/godoc/static: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/godoc/static expects import "golang.org/x/tools/godoc/static"
can't load package: package github.com/golang/tools/godoc/util: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/godoc/util expects import "golang.org/x/tools/godoc/util"
can't load package: package github.com/golang/tools/godoc/vfs: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/godoc/vfs expects import "golang.org/x/tools/godoc/vfs"
can't load package: package github.com/golang/tools/godoc/vfs/gatefs: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/godoc/vfs/gatefs expects import "golang.org/x/tools/godoc/vfs/gatefs"
can't load package: package github.com/golang/tools/godoc/vfs/httpfs: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/godoc/vfs/httpfs expects import "golang.org/x/tools/godoc/vfs/httpfs"
can't load package: package github.com/golang/tools/godoc/vfs/mapfs: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/godoc/vfs/mapfs expects import "golang.org/x/tools/godoc/vfs/mapfs"
can't load package: package github.com/golang/tools/godoc/vfs/zipfs: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/godoc/vfs/zipfs expects import "golang.org/x/tools/godoc/vfs/zipfs"
can't load package: package github.com/golang/tools/imports: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/imports expects import "golang.org/x/tools/imports"
can't load package: package github.com/golang/tools/playground: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/playground expects import "golang.org/x/tools/playground"
can't load package: package github.com/golang/tools/playground/socket: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/playground/socket expects import "golang.org/x/tools/playground/socket"
can't load package: package github.com/golang/tools/present: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/present expects import "golang.org/x/tools/present"
can't load package: package github.com/golang/tools/refactor/eg: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/refactor/eg expects import "golang.org/x/tools/refactor/eg"
can't load package: package github.com/golang/tools/refactor/importgraph: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/refactor/importgraph expects import "golang.org/x/tools/refactor/importgraph"
can't load package: package github.com/golang/tools/refactor/rename: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/refactor/rename expects import "golang.org/x/tools/refactor/rename"
can't load package: package github.com/golang/tools/refactor/satisfy: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools/refactor/satisfy expects import "golang.org/x/tools/refactor/satisfy"
can't load package: package github.com/golang/tools_bak/benchmark/parse: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/benchmark/parse expects import "golang.org/x/tools/benchmark/parse"
can't load package: package github.com/golang/tools_bak/blog: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/blog expects import "golang.org/x/tools/blog"
can't load package: package github.com/golang/tools_bak/blog/atom: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/blog/atom expects import "golang.org/x/tools/blog/atom"
can't load package: package github.com/golang/tools_bak/cmd/benchcmp: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/benchcmp expects import "golang.org/x/tools/cmd/benchcmp"
can't load package: package github.com/golang/tools_bak/cmd/callgraph: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/callgraph expects import "golang.org/x/tools/cmd/callgraph"
can't load package: package github.com/golang/tools_bak/cmd/cover: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/cover expects import "golang.org/x/tools/cmd/cover"
can't load package: package github.com/golang/tools_bak/cmd/digraph: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/digraph expects import "golang.org/x/tools/cmd/digraph"
can't load package: package github.com/golang/tools_bak/cmd/eg: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/eg expects import "golang.org/x/tools/cmd/eg"
can't load package: package github.com/golang/tools_bak/cmd/godex: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/godex expects import "golang.org/x/tools/cmd/godex"
can't load package: package github.com/golang/tools_bak/cmd/godoc: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/godoc expects import "golang.org/x/tools/cmd/godoc"
can't load package: package github.com/golang/tools_bak/cmd/goimports: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/goimports expects import "golang.org/x/tools/cmd/goimports"
can't load package: package github.com/golang/tools_bak/cmd/gorename: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/gorename expects import "golang.org/x/tools/cmd/gorename"
can't load package: package github.com/golang/tools_bak/cmd/gotype: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/gotype expects import "golang.org/x/tools/cmd/gotype"
can't load package: package github.com/golang/tools_bak/cmd/guru_bak: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/guru_bak expects import "golang.org/x/tools/cmd/guru"
can't load package: package github.com/golang/tools_bak/cmd/html2article: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/html2article expects import "golang.org/x/tools/cmd/html2article"
can't load package: package github.com/golang/tools_bak/cmd/present: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/present expects import "golang.org/x/tools/cmd/present"
can't load package: package github.com/golang/tools_bak/cmd/ssadump: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/ssadump expects import "golang.org/x/tools/cmd/ssadump"
can't load package: package github.com/golang/tools_bak/cmd/stringer: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/stringer expects import "golang.org/x/tools/cmd/stringer"
can't load package: package github.com/golang/tools_bak/cmd/toolstash: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cmd/toolstash expects import "golang.org/x/tools/cmd/toolstash"
can't load package: package github.com/golang/tools_bak/container/intsets: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/container/intsets expects import "golang.org/x/tools/container/intsets"
can't load package: package github.com/golang/tools_bak/cover: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/cover expects import "golang.org/x/tools/cover"
can't load package: package github.com/golang/tools_bak/go/ast/astutil: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/ast/astutil expects import "golang.org/x/tools/go/ast/astutil"
can't load package: package github.com/golang/tools_bak/go/buildutil: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/buildutil expects import "golang.org/x/tools/go/buildutil"
can't load package: package github.com/golang/tools_bak/go/callgraph: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/callgraph expects import "golang.org/x/tools/go/callgraph"
can't load package: package github.com/golang/tools_bak/go/callgraph/cha: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/callgraph/cha expects import "golang.org/x/tools/go/callgraph/cha"
can't load package: package github.com/golang/tools_bak/go/callgraph/rta: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/callgraph/rta expects import "golang.org/x/tools/go/callgraph/rta"
can't load package: package github.com/golang/tools_bak/go/callgraph/static: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/callgraph/static expects import "golang.org/x/tools/go/callgraph/static"
can't load package: package github.com/golang/tools_bak/go/gcexportdata: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/gcexportdata expects import "golang.org/x/tools/go/gcexportdata"
can't load package: package github.com/golang/tools_bak/go/gcimporter15: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/gcimporter15 expects import "golang.org/x/tools/go/gcimporter15"
can't load package: package github.com/golang/tools_bak/go/internal/gccgoimporter: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/internal/gccgoimporter expects import "golang.org/x/tools/go/internal/gccgoimporter"
can't load package: package github.com/golang/tools_bak/go/pointer: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/pointer expects import "golang.org/x/tools/go/pointer"
can't load package: package github.com/golang/tools_bak/go/ssa: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/ssa expects import "golang.org/x/tools/go/ssa"
can't load package: package github.com/golang/tools_bak/go/ssa/interp: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/ssa/interp expects import "golang.org/x/tools/go/ssa/interp"
can't load package: package github.com/golang/tools_bak/go/ssa/ssautil: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/ssa/ssautil expects import "golang.org/x/tools/go/ssa/ssautil"
can't load package: package github.com/golang/tools_bak/go/types/typeutil: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/types/typeutil expects import "golang.org/x/tools/go/types/typeutil"
can't load package: package github.com/golang/tools_bak/go/vcs: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/go/vcs expects import "golang.org/x/tools/go/vcs"
can't load package: package github.com/golang/tools_bak/godoc: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/godoc expects import "golang.org/x/tools/godoc"
can't load package: package github.com/golang/tools_bak/godoc/analysis: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/godoc/analysis expects import "golang.org/x/tools/godoc/analysis"
can't load package: package github.com/golang/tools_bak/godoc/redirect: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/godoc/redirect expects import "golang.org/x/tools/godoc/redirect"
can't load package: package github.com/golang/tools_bak/godoc/static: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/godoc/static expects import "golang.org/x/tools/godoc/static"
can't load package: package github.com/golang/tools_bak/godoc/util: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/godoc/util expects import "golang.org/x/tools/godoc/util"
can't load package: package github.com/golang/tools_bak/godoc/vfs: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/godoc/vfs expects import "golang.org/x/tools/godoc/vfs"
can't load package: package github.com/golang/tools_bak/godoc/vfs/gatefs: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/godoc/vfs/gatefs expects import "golang.org/x/tools/godoc/vfs/gatefs"
can't load package: package github.com/golang/tools_bak/godoc/vfs/httpfs: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/godoc/vfs/httpfs expects import "golang.org/x/tools/godoc/vfs/httpfs"
can't load package: package github.com/golang/tools_bak/godoc/vfs/mapfs: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/godoc/vfs/mapfs expects import "golang.org/x/tools/godoc/vfs/mapfs"
can't load package: package github.com/golang/tools_bak/godoc/vfs/zipfs: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/godoc/vfs/zipfs expects import "golang.org/x/tools/godoc/vfs/zipfs"
can't load package: package github.com/golang/tools_bak/imports: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/imports expects import "golang.org/x/tools/imports"
can't load package: package github.com/golang/tools_bak/playground: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/playground expects import "golang.org/x/tools/playground"
can't load package: package github.com/golang/tools_bak/playground/socket: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/playground/socket expects import "golang.org/x/tools/playground/socket"
can't load package: package github.com/golang/tools_bak/present: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/present expects import "golang.org/x/tools/present"
can't load package: package github.com/golang/tools_bak/refactor/eg: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/refactor/eg expects import "golang.org/x/tools/refactor/eg"
can't load package: package github.com/golang/tools_bak/refactor/importgraph: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/refactor/importgraph expects import "golang.org/x/tools/refactor/importgraph"
can't load package: package github.com/golang/tools_bak/refactor/rename: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/refactor/rename expects import "golang.org/x/tools/refactor/rename"
can't load package: package github.com/golang/tools_bak/refactor/satisfy: code in directory /Users/back/Documents/Go/third/src/github.com/golang/tools_bak/refactor/satisfy expects import "golang.org/x/tools/refactor/satisfy"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/admission/v1alpha1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/admission/v1alpha1 expects import "k8s.io/api/admission/v1alpha1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/admissionregistration/v1alpha1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/admissionregistration/v1alpha1 expects import "k8s.io/api/admissionregistration/v1alpha1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/apps/v1beta1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/apps/v1beta1 expects import "k8s.io/api/apps/v1beta1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/apps/v1beta2: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/apps/v1beta2 expects import "k8s.io/api/apps/v1beta2"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/authentication/v1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/authentication/v1 expects import "k8s.io/api/authentication/v1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/authentication/v1beta1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/authentication/v1beta1 expects import "k8s.io/api/authentication/v1beta1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/authorization/v1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/authorization/v1 expects import "k8s.io/api/authorization/v1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/authorization/v1beta1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/authorization/v1beta1 expects import "k8s.io/api/authorization/v1beta1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/autoscaling/v1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/autoscaling/v1 expects import "k8s.io/api/autoscaling/v1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/autoscaling/v2alpha1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/autoscaling/v2alpha1 expects import "k8s.io/api/autoscaling/v2alpha1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/batch/v1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/batch/v1 expects import "k8s.io/api/batch/v1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/batch/v2alpha1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/batch/v2alpha1 expects import "k8s.io/api/batch/v2alpha1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/certificates/v1beta1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/certificates/v1beta1 expects import "k8s.io/api/certificates/v1beta1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/core/v1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/core/v1 expects import "k8s.io/api/core/v1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/extensions/v1beta1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/extensions/v1beta1 expects import "k8s.io/api/extensions/v1beta1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/imagepolicy/v1alpha1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/imagepolicy/v1alpha1 expects import "k8s.io/api/imagepolicy/v1alpha1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/networking/v1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/networking/v1 expects import "k8s.io/api/networking/v1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/policy/v1beta1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/policy/v1beta1 expects import "k8s.io/api/policy/v1beta1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/rbac/v1alpha1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/rbac/v1alpha1 expects import "k8s.io/api/rbac/v1alpha1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/rbac/v1beta1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/rbac/v1beta1 expects import "k8s.io/api/rbac/v1beta1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/scheduling/v1alpha1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/scheduling/v1alpha1 expects import "k8s.io/api/scheduling/v1alpha1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/settings/v1alpha1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/settings/v1alpha1 expects import "k8s.io/api/settings/v1alpha1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/api/storage/v1beta1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/api/storage/v1beta1 expects import "k8s.io/api/storage/v1beta1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions expects import "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1 expects import "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/api/errors: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/api/errors expects import "k8s.io/apimachinery/pkg/api/errors"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/api/meta: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/api/meta expects import "k8s.io/apimachinery/pkg/api/meta"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/api/validation: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/api/validation expects import "k8s.io/apimachinery/pkg/api/validation"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/apimachinery: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/apimachinery expects import "k8s.io/apimachinery/pkg/apimachinery"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/apis/testapigroup: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/apis/testapigroup expects import "k8s.io/apimachinery/pkg/apis/testapigroup"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1 expects import "k8s.io/apimachinery/pkg/apis/testapigroup/v1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/conversion: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/conversion expects import "k8s.io/apimachinery/pkg/conversion"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/conversion/queryparams: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/conversion/queryparams expects import "k8s.io/apimachinery/pkg/conversion/queryparams"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/conversion/unstructured: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/conversion/unstructured expects import "k8s.io/apimachinery/pkg/conversion/unstructured"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/fields: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/fields expects import "k8s.io/apimachinery/pkg/fields"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/labels: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/labels expects import "k8s.io/apimachinery/pkg/labels"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/runtime: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/runtime expects import "k8s.io/apimachinery/pkg/runtime"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf expects import "k8s.io/apimachinery/pkg/runtime/serializer/protobuf"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/types: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/types expects import "k8s.io/apimachinery/pkg/types"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/util/errors: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/util/errors expects import "k8s.io/apimachinery/pkg/util/errors"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/util/httpstream: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/util/httpstream expects import "k8s.io/apimachinery/pkg/util/httpstream"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/util/proxy: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/util/proxy expects import "k8s.io/apimachinery/pkg/util/proxy"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/util/wait: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/util/wait expects import "k8s.io/apimachinery/pkg/util/wait"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/version: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/version expects import "k8s.io/apimachinery/pkg/version"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/watch: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/watch expects import "k8s.io/apimachinery/pkg/watch"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/apis/apiserver: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/apis/apiserver expects import "k8s.io/apiserver/pkg/apis/apiserver"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1 expects import "k8s.io/apiserver/pkg/apis/apiserver/v1alpha1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/apis/audit: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/apis/audit expects import "k8s.io/apiserver/pkg/apis/audit"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1 expects import "k8s.io/apiserver/pkg/apis/audit/v1alpha1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/apis/example: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/apis/example expects import "k8s.io/apiserver/pkg/apis/example"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/apis/example/v1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/apis/example/v1 expects import "k8s.io/apiserver/pkg/apis/example/v1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/authentication/request/x509: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/authentication/request/x509 expects import "k8s.io/apiserver/pkg/authentication/request/x509"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints expects import "k8s.io/apiserver/pkg/endpoints"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/filters: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/filters expects import "k8s.io/apiserver/pkg/endpoints/filters"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/handlers: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/handlers expects import "k8s.io/apiserver/pkg/endpoints/handlers"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation expects import "k8s.io/apiserver/pkg/endpoints/handlers/negotiation"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters expects import "k8s.io/apiserver/pkg/endpoints/handlers/responsewriters"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/request: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/request expects import "k8s.io/apiserver/pkg/endpoints/request"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/testing: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/testing expects import "k8s.io/apiserver/pkg/endpoints/testing"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/registry: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/registry expects import "k8s.io/apiserver/pkg/registry"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/registry/generic: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/registry/generic expects import "k8s.io/apiserver/pkg/registry/generic"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/registry/generic/registry: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/registry/generic/registry expects import "k8s.io/apiserver/pkg/registry/generic/registry"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/registry/generic/rest: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/registry/generic/rest expects import "k8s.io/apiserver/pkg/registry/generic/rest"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/registry/rest: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/registry/rest expects import "k8s.io/apiserver/pkg/registry/rest"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/server/filters: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/server/filters expects import "k8s.io/apiserver/pkg/server/filters"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/server/healthz: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/server/healthz expects import "k8s.io/apiserver/pkg/server/healthz"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/server/httplog: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/server/httplog expects import "k8s.io/apiserver/pkg/server/httplog"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/server/options: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/server/options expects import "k8s.io/apiserver/pkg/server/options"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/storage: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/storage expects import "k8s.io/apiserver/pkg/storage"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/storage/errors: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/storage/errors expects import "k8s.io/apiserver/pkg/storage/errors"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/storage/etcd: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/storage/etcd expects import "k8s.io/apiserver/pkg/storage/etcd"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/storage/etcd/etcdtest: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/storage/etcd/etcdtest expects import "k8s.io/apiserver/pkg/storage/etcd/etcdtest"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/storage/etcd/util: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/storage/etcd/util expects import "k8s.io/apiserver/pkg/storage/etcd/util"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/util/flushwriter: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/util/flushwriter expects import "k8s.io/apiserver/pkg/util/flushwriter"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/util/wsstream: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/util/wsstream expects import "k8s.io/apiserver/pkg/util/wsstream"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/plugin/pkg/audit: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/plugin/pkg/audit expects import "k8s.io/apiserver/plugin/pkg/audit"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/plugin/pkg/authenticator: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/plugin/pkg/authenticator expects import "k8s.io/apiserver/plugin/pkg/authenticator"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/plugin/pkg/authenticator/password: code in directory/Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/plugin/pkg/authenticator/password expects import "k8s.io/apiserver/plugin/pkg/authenticator/password"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/apiserver/plugin/pkg/authenticator/password/keystone: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/apiserver/plugin/pkg/authenticator/password/keystone expects import "k8s.io/apiserver/plugin/pkg/authenticator/password/keystone"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/client-go/kubernetes: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/client-go/kubernetes expects import "k8s.io/client-go/kubernetes"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/client-go/pkg/version: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/client-go/pkg/version expects import "k8s.io/client-go/pkg/version"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/cache: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/cache expects import "k8s.io/client-go/tools/cache"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/clientcmd: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/clientcmd expects import "k8s.io/client-go/tools/clientcmd"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/portforward: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/portforward expects import "k8s.io/client-go/tools/portforward"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/record: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/record expects import "k8s.io/client-go/tools/record"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/remotecommand: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/remotecommand expects import "k8s.io/client-go/tools/remotecommand"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/client-go/util/jsonpath: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/client-go/util/jsonpath expects import "k8s.io/client-go/util/jsonpath"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration expects import "k8s.io/kube-aggregator/pkg/apis/apiregistration"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1: code in directory /Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1 expects import "k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1"
can't load package: package k8s.io/kubernetes/staging/src/k8s.io/kube-gen/cmd/client-gen/test_apis/testgroup: code in directory/Users/back/Documents/Go/third/src/k8s.io/kubernetes/staging/src/k8s.io/kube-gen/cmd/client-gen/test_apis/testgroup expects import "k8s.io/kube-gen/cmd/client-gen/test_apis/testgroup"
I wondering if it can help ?
@szyhf over 5000 rows!! Wow, that's a lot of packages.
I can't repro this issue because I don't have those many packages :)
I can help you set up a local environment for the Go extension and help you debug the issue if you are up for it.
goPackages.ts
at https://github.com/Microsoft/vscode-go/blob/master/src/goPackages.ts#L36 and https://github.com/Microsoft/vscode-go/blob/master/src/goPackages.ts#L42If the second breakpoint is not getting hit, that means that the process for go list all
is not completing.
Add the below right after cmd.on('close')
and see if breakpoint for the below gets hit
cmd.on('error', (err) => {
console.log('Thanks for debugging.');
});
@ramya-rao-a Thank for help! I'll try them latter !!!
@ramya-rao-a The second breakpoint was not getting hit (which means go list all
got stuck?).
@sgyang yup, that's the problem. Now try this:
Add the below right after cmd.on('close'), add breakpoint on the line which has the console.log() and see if this breakpoint for gets hit. If it does, share the err
cmd.on('error', (err) => {
console.log('Thanks for debugging.');
});
Looks like go list all
is failing, I'd like to know why.
The auto-completion of unimported packages depends on go list all
completing successfully.
I'll work on adding a fallback to the old way of getting pkgs, but I want to know why go list all
fails in your case.
@ramya-rao-a There is no output.
When debugging I checked running processes and found go list -f '{{.Name}};{{.ImportPath}}' all
is running forever.
When I directly typed go list -f '{{.Name}};{{.ImportPath}}' all
on my terminal, it took 10s to get the output but it did not get stuck.
I found my go list all
emitted tons of can't load package
warning messages on stderr as well as @szyhf (I installed kubernetes, gRPC, and GoogleCloudPlatform related packages. It seems their simlinks cause the warnings.)
So, I tried to ignore the stderr, and then the issue got fixed. I created a small PR to fix it so please review it.
@sgyang Really? Thanks, I just got the debug environment done and receive your issue !
This is so cool! I'd have never caught this issue as I do only simple Go programs :( just enough for developing the features and bug fixes
@sgyang @szyhf Would you be interested in joining a group I recently created to beta test the Go extension updates before they get released? This way features/bug fixes get more eyes on machines of real world Gophers and can catch issues like this ahead of time. And by beta test I mean checking out the new features and using the extension just like you would any other day
@ramya-rao-a Yes, I'd love to, my pleasure ~ How can I join the group ?
Awesome! Just join the Google group here: https://groups.google.com/forum/#!forum/go-with-vs-code-beta-testers
I basically just post an announcement there whenever the next update is ready for beta testing. Once I do that, all you have to do is
code --install-extension Go-latest.vsix
from the location where you downloaded that file.The fix for this issue has been released with the latest update to the Go extension (0.6.65)
Thanks @szyhf and @sgyang
My editor can not using "autocomplete Unimported Packages" any more, after I update my vscode to 1.15, I'm not sure if it is the reason.
Previously I can import package like 'strings' just type "strings.S" and auto complete list will show with "strings.Splite()" and after select, the package 'strings' will be imported.
But now, if I didn't import the package "strings", the tips won't show.
It's very pleasure if any one can help.
My OS: macOS Sierra 10.12.6 VSCode: 1.15.1 (1.15.1) , just update this morning, but the problem is not just occur now, it has been occur for about 2 weeks.
If any other info is needed, please let me know ! Thanks a lot