Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 20:18
    greenkeeper[bot] labeled #868
  • Jan 31 2019 20:18

    greenkeeper[bot] on flow-bin-0.92.0

    chore(package): update flow-bin… chore(package): update lockfile… (compare)

  • Jan 31 2019 20:18
    greenkeeper[bot] opened #868
  • Jan 31 2019 16:18
    purehyperbole starred joefitzgerald/go-plus
  • Jan 31 2019 05:15
    hjyun328 commented #861
  • Jan 31 2019 04:32

    greenkeeper[bot] on prettier-1.16.3

    (compare)

  • Jan 31 2019 04:23

    greenkeeper[bot] on prettier-1.16.3

    chore(package): update prettier… chore(package): update lockfile… (compare)

  • Jan 31 2019 03:32
    hjyun328 commented #861
  • Jan 31 2019 03:31
    hjyun328 commented #861
  • Jan 31 2019 03:29
    hjyun328 commented #861
  • Jan 31 2019 03:29
    hjyun328 commented #861
  • Jan 31 2019 03:29
    hjyun328 commented #861
  • Jan 31 2019 03:29
    hjyun328 commented #861
  • Jan 31 2019 03:28
    hjyun328 commented #861
  • Jan 31 2019 03:28
    hjyun328 commented #861
  • Jan 31 2019 03:26
    hjyun328 closed #861
  • Jan 31 2019 03:25
    hjyun328 commented #861
  • Jan 31 2019 03:25
    hjyun328 commented #861
  • Jan 31 2019 03:19
    hjyun328 commented #861
  • Jan 31 2019 03:14
    hjyun328 commented #861
Joe Fitzgerald
@joefitzgerald
Also paste the output from go version
Ben McRae
@benmcrae
go version go1.6.2 darwin/amd64
Joe Fitzgerald
@joefitzgerald
Ok and is $GOPATH/bin in your $PATH?
Ben McRae
@benmcrae
ahh
one secon
d
echo $GOPATH
/Users/ben/dev/go
yes
Joe Fitzgerald
@joefitzgerald
Type which gocode
Ben McRae
@benmcrae
didn't return anything
i guess that is the issue...
added the go bin path to $PATH
yep
working now
sorry about that
my fault
Joe Fitzgerald
@joefitzgerald
:)
All good
I should really just add a feature to warn people of that. The flip side is that would annoy experienced users
Ben McRae
@benmcrae
i completely missed this as its a new laptop setup!
Would hate to think how often that happens though..
David Komer
@dakom
question - I sortof have autocomplete working as it will show packages in a list... i.e. if I start typing "strc" I'll get "strconv" if I had that in the imports, but nothing is showing after the . like if I type "strconv."
I've added %GOPATH%\bin to my PATH (i.e. typing "gocode" works from anywhere), and here's what "goapp env" tells me (I'm using appengine, so it's goapp not go):
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\david\Documents\GOPATH
set GORACE=
set GOROOT=C:\Program Files (x86)\Google\go_appengine\goroot
set GOTOOLDIR=C:\Program Files (x86)\Google\go_appengine\goroot\pkg\tool\windows_amd64
set GO15VENDOREXPERIMENT=1
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
Joe Fitzgerald
@joefitzgerald
gocode set turn propose builtins
David Komer
@dakom
thanks... though I think I screwed something up, now the autocomplete isn't working for package names either :\
David Komer
@dakom
seems gocode set autobuild true fixes this, but then it builds using "go" not "goapp"... :(
though this doesn't seem to make sense since I have builder-go installed as well...
Joe Fitzgerald
@joefitzgerald
Ok then the fix is to run goapp install .
On save
Generally, if you're starting a new project, I would recommend using a newer approach that does not require using the separate goapp runtime
Use Container engine with a cross compiled binary
David Komer
@dakom
doesn't it require using that since it needs to spin up the dev server for datastore etc.?
"Container engine"?
Joe Fitzgerald
@joefitzgerald
Depends on your app architecture
https://run.pivotal.io (disclosure: my employer)
All of them
David Komer
@dakom
oh, it's some solution to use datastore/etc. outside of appengine, i.e. in your own hosted container somewhere else?
Joe Fitzgerald
@joefitzgerald
are much simpler
All of them run your app in a container
And externalize the datastore
David Komer
@dakom
gotcha, but then it's no longer appengine exactly, i.e. letting google deal with the headache of auto scaling and just pay for usage... as well as task queue management... all the stuff that is supposed just work on appengine
sounds like it's one of those decisions that has pros/cons on either side... just feels weird to change course so drastically to get gocode working, hehe
Joe Fitzgerald
@joefitzgerald
Has nothing to do with gocode . Has to do with the fact that app engine has a funk permissions
/ security model
Which is ultimately why you have to have a separate runtime
The app engine approach is not the future of GCE, so I wouldn't start there for new apps
David Komer
@dakom
right - definately not the future of GCE, but isn't that the point? i.e. GCE is more the do-it-yourself approach, appengine is the "use our funky decisions - like it or not, and we'll handle dev-ops for you" approach?