{"action":"created","issue":{"url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/842","repository_url":"https://api.github.com/repos/joefitzgerald/go-plus","labels_url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/842/labels{/name}","comments_url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/842/comments","events_url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/842/events","html_url":"https://github.com/joefitzgerald/go-plus/issues/842","id":391269971,"node_id":"MDU6SXNzdWUzOTEyNjk5NzE=","number":842,"title":"After 2 Years Randomly MissingGo Tool!?!","user":{"login":"gumballdead","id":5341581,"node_id":"MDQ6VXNlcjUzNDE1ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/5341581?v=4","gravatar_id":"","url":"https://api.github.com/users/gumballdead","html_url":"https://github.com/gumballdead","followers_url":"https://api.github.com/users/gumballdead/followers","following_url":"https://api.github.com/users/gumballdead/following{/other_user}","gists_url":"https://api.github.com/users/gumballdead/gists{/gist_id}","starred_url":"https://api.github.com/users/gumballdead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gumballdead/subscriptions","organizations_url":"https://api.github.com/users/gumballdead/orgs","repos_url":"https://api.github.com/users/gumballdead/repos","events_url":"https://api.github.com/users/gumballdead/events{/privacy}","received_events_url":"https://api.github.com/users/gumballdead/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-14T20:34:32Z","updated_at":"2018-12-16T18:14:16Z","closed_at":null,"author_association":"NONE","body":"### Prerequisites\r\n\r\n* [x] Have you tried launching `atom .` from the terminal in your project's directory?\r\n* [x] Have you verified the output from `go env` is correct? If it is, please include the output in this issue.\r\n* [x] Have you updated Atom to the latest version?\r\n* [ ] Have you tried using [Atom Beta](https://atom.io/beta), which can be run side-by-side with Atom Stable? Is the behavior the same, or different?\r\n* [x] Have you updated your Atom packages to the latest versions?\r\n* [x] Have you read the [FAQ](https://github.com/joefitzgerald/go-plus/wiki/FAQ)?\r\n* [x] Have you searched [the issues](https://github.com/joefitzgerald/go-plus/issues?utf8=%E2%9C%93&q=is%3Aissue) to see if others are experiencing the same issue?\r\n\r\n### Description\r\n\r\nI've been using GO and atom as my IDE for almost 2 years and I did not change anything and all of a sudden one day the GO atom tool is not recognizing the Go runtime that I have installed. I checked my PATH and it has usr/local/go/bin I had been opening atom with a custom alias since I realized the vendor binaries weren't found unless I updated my gopath before I opened atom.\r\n\r\n`aias atom-combinedapi='GOPATH=$HOME/foldername/repositories/combinedapi; atom ~/foldername/repositories/combinedapi/src/foldername/combinedapi;'`\r\n\r\nNow no matter what I do, whether I open atom with that alias or without it, atom cannot find my go version at all.\r\n\r\n![screen shot 2018-12-14 at 2 25 28 pm](https://user-images.githubusercontent.com/5341581/50025737-1feec680-ffac-11e8-8d01-cd4c83ba0780.png)\r\n\r\ngo version go1.8.3 darwin/amd64\r\n\r\nObviously I think this is something wrong with the environment variables or settings on my OS.\r\n\r\nI've been using atom as my IDE for quite a while without issues and I believe this problem occurred after I upgraded my mac os to Mojave I'm on mac os x 10.14.1\r\n\r\nprocess.env variables HERE:\r\nGOPATH:\"/Users/gumballdead/foldername/repositories/combinedapi\"\r\nPATH:\"/Users/gumballdead/foldername/repositories/combinedapi/bin:/usr/local/go/bin:/Users/gumballdead/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Users/gumballdead/sourcecode/gowork/bin:/Library/PostgreSQL/9.5/bin:/Users/gumballdead/foldername/repositories/combinedapi/bin:/.pyenv/bin:/Users/gumballdead/foldername/repositories/combinedapi/bin\"\r\n\r\nwhich go\r\n/usr/local/go/bin/go\r\n\r\n### Output from `atom -v && apm -v`\r\n\r\nAtom    : 1.33.0\r\nElectron: 2.0.11\r\nChrome  : 61.0.3163.100\r\nNode    : 8.9.3\r\n\r\napm  2.1.2\r\nnpm  6.2.0\r\nnode 8.9.3 x64\r\natom 1.33.0\r\npython 3.5.2\r\ngit 2.17.1\r\n\r\n### Output From `go env`\r\n\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOEXE=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"darwin\"\r\nGOOS=\"darwin\"\r\nGOPATH=\"/Users/gumballdead/foldername/repositories/combinedapi\"\r\nGORACE=\"\"\r\nGOROOT=\"/usr/local/go\"\r\nGOTOOLDIR=\"/usr/local/go/pkg/tool/darwin_amd64\"\r\nGCCGO=\"gccgo\"\r\nCC=\"clang\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/0t/hgb0frn9283f8ftc40vdz1qc0000gn/T/go-build679646751=/tmp/go-build -gno-record-gcc-switches -fno-common\"\r\nCXX=\"clang++\"\r\nCGO_ENABLED=\"1\"\r\nPKG_CONFIG=\"pkg-config\"\r\nCGO_CFLAGS=\"-g -O2\"\r\nCGO_CPPFLAGS=\"\"\r\nCGO_CXXFLAGS=\"-g -O2\"\r\nCGO_FFLAGS=\"-g -O2\"\r\nCGO_LDFLAGS=\"-g -O2\"\r\n\r\n### Steps to Reproduce\r\nLaunch Atom\r\nNothing GO works\r\n\r\n\r\nI've looked over many issues \r\n\r\nhttps://github.com/joefitzgerald/go-plus/issues/743\r\nhttps://github.com/joefitzgerald/go-config/issues/30\r\nhttps://github.com/joefitzgerald/go-plus/issues/380\r\n\r\nI've had gvm installed previously but I removed it and I also previously installed golang with homebrew but removed that installation as well so I'm really all out of options now.\r\n\r\nPlease let me know if there's something obvious that I'm missing.\r\n\r\nThank you.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/comments/447664105","html_url":"https://github.com/joefitzgerald/go-plus/issues/842#issuecomment-447664105","issue_url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/842","id":447664105,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzY2NDEwNQ==","user":{"login":"zmb3","id":7527103,"node_id":"MDQ6VXNlcjc1MjcxMDM=","avatar_url":"https://avatars3.githubusercontent.com/u/7527103?v=4","gravatar_id":"","url":"https://api.github.com/users/zmb3","html_url":"https://github.com/zmb3","followers_url":"https://api.github.com/users/zmb3/followers","following_url":"https://api.github.com/users/zmb3/following{/other_user}","gists_url":"https://api.github.com/users/zmb3/gists{/gist_id}","starred_url":"https://api.github.com/users/zmb3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmb3/subscriptions","organizations_url":"https://api.github.com/users/zmb3/orgs","repos_url":"https://api.github.com/users/zmb3/repos","events_url":"https://api.github.com/users/zmb3/events{/privacy}","received_events_url":"https://api.github.com/users/zmb3/received_events","type":"User","site_admin":false},"created_at":"2018-12-16T18:14:16Z","updated_at":"2018-12-16T18:14:16Z","author_association":"COLLABORATOR","body":"Just to close the loop here - we leverage `go env -json` in order to validate that the executable we found is indeed the go tool.  The `-json` flag was introduced in Go 1.9, so go-plus will not work with Go 1.8.\r\n\r\nGo 1.8 is almost 2 years old, and many of the tools support only the latest 2 versions of Go, so it probably doesn't make sense to put a fix in here if it will just fail somewhere else.\r\n\r\nWhat do you think @gumballdead - were you able to upgrade to a newer version of Go?\r\n\r\n"}}
{"actor":{"display_login":"zmb3"}}