[go-nuts] Re: Golang, Google App Engine, Windows 10
Hi, i am a happy long time user of windows. i am developing go the last two years and can do almost the same things as in Linux. Visual Studio Code with the go plugin is fantastic with debugging support using delve. If you want to compile for Linux you can do it from windows with "GOOS=linux GOARCH=amd64 go build your code". I do not use GCE but they have a CLI for windows. Is there something you need to do that you cannot do in windows? On Thursday, September 21, 2017 at 12:31:04 AM UTC+3, Rob Shelby wrote: > > Hi all. > > I'm having to make 2 transitions in my coding life. > > From PHP to Go, which I'm happy about. > > From Linux desktop to Windows 10, which I'm not as happy about. > > I love using Google's App Engine so I don't need to worry about servers > etc. (Not Compute Engine) > > Anyways, any steps, advice, etc to easily code in Go and deploy to GAE. > > So far, I've figured that installing and running Go in Bash On Linux, but > coding in an IDE in Windows, is the easiest. Then deploy from Bash On > Windows. > > Does anyone else have a better way? > > Thanks! > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[go-nuts] Re: Golang, Google App Engine, Windows 10
Why would I use Cygwin over Bash For Windows? On Thursday, September 21, 2017 at 8:17:04 AM UTC-4, Rich wrote: > > As a Linux guy myself... Jet Brains makes an IDE for Windows, Linux and > Mac called Gogland that I find to be a very good IDE. If forced to use > Windows, I would install Cygwin which will give you a Linux shell > environment. As for compiling, I run a mac and build binaries for Linux / > Windows all the time. What I do is create a simple Makefile like this: > > all: runcmd > > runcmd: runcmd.go > GOOS=linux GOARCH=amd64 go build -o binaries/linux64/runcmd > runcmd.go > GOOS=linux GOARCH=386 go build -o binaries/linux32/runcmd > runcmd.go > GOOS=windows GOARCH=amd64 go build -o binaries/win64/runcmd.exe > runcmd.go > GOOS=windows GOARCH=386 go build -o binaries/win32/runcmd.exe > runcmd.go > GOOS=darwin GOARCH=amd64 go build -o binaries/mac/runcmd runcmd.go > > Just type 'Make' and it will build for all platforms > > On Wednesday, September 20, 2017 at 4:31:04 PM UTC-5, Rob Shelby wrote: >> >> Hi all. >> >> I'm having to make 2 transitions in my coding life. >> >> From PHP to Go, which I'm happy about. >> >> From Linux desktop to Windows 10, which I'm not as happy about. >> >> I love using Google's App Engine so I don't need to worry about servers >> etc. (Not Compute Engine) >> >> Anyways, any steps, advice, etc to easily code in Go and deploy to GAE. >> >> So far, I've figured that installing and running Go in Bash On Linux, but >> coding in an IDE in Windows, is the easiest. Then deploy from Bash On >> Windows. >> >> Does anyone else have a better way? >> >> Thanks! >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[go-nuts] Re: Golang, Google App Engine, Windows 10
As a Linux guy myself... Jet Brains makes an IDE for Windows, Linux and Mac called Gogland that I find to be a very good IDE. If forced to use Windows, I would install Cygwin which will give you a Linux shell environment. As for compiling, I run a mac and build binaries for Linux / Windows all the time. What I do is create a simple Makefile like this: all: runcmd runcmd: runcmd.go GOOS=linux GOARCH=amd64 go build -o binaries/linux64/runcmd runcmd.go GOOS=linux GOARCH=386 go build -o binaries/linux32/runcmd runcmd.go GOOS=windows GOARCH=amd64 go build -o binaries/win64/runcmd.exe runcmd.go GOOS=windows GOARCH=386 go build -o binaries/win32/runcmd.exe runcmd.go GOOS=darwin GOARCH=amd64 go build -o binaries/mac/runcmd runcmd.go Just type 'Make' and it will build for all platforms On Wednesday, September 20, 2017 at 4:31:04 PM UTC-5, Rob Shelby wrote: > > Hi all. > > I'm having to make 2 transitions in my coding life. > > From PHP to Go, which I'm happy about. > > From Linux desktop to Windows 10, which I'm not as happy about. > > I love using Google's App Engine so I don't need to worry about servers > etc. (Not Compute Engine) > > Anyways, any steps, advice, etc to easily code in Go and deploy to GAE. > > So far, I've figured that installing and running Go in Bash On Linux, but > coding in an IDE in Windows, is the easiest. Then deploy from Bash On > Windows. > > Does anyone else have a better way? > > Thanks! > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[go-nuts] Re: Golang, Google App Engine, Windows 10
As a Linux guy myself... Jet Brains makes an IDE for Windows, Linux and Mac called Gogland that I find to be a very good IDE. If forced to use Windows, I would install Cygwin which will give you a Linux shell environment. As for compiling, I run a mac and build binaries for Linux / Windows all the time. What I do is create a simple Makefile like this: GOOS=windows GOARCH=386 go build -o binaries/win32/runcmd.exe runcmd.go all: runcmd runcmd: runcmd.go GOOS=linux GOARCH=amd64 go build -o binaries/linux64/runcmd runcmd.go GOOS=linux GOARCH=386 go build -o binaries/linux32/runcmd runcmd.go GOOS=windows GOARCH=amd64 go build -o binaries/win64/runcmd.exe runcmd.go GOOS=windows GOARCH=386 go build -o binaries/win32/runcmd.exe runcmd.go GOOS=darwin GOARCH=amd64 go build -o binaries/mac/runcmd runcmd.go Just type 'Make' and it will build for all platforms On Wednesday, September 20, 2017 at 4:31:04 PM UTC-5, Rob Shelby wrote: > > Hi all. > > I'm having to make 2 transitions in my coding life. > > From PHP to Go, which I'm happy about. > > From Linux desktop to Windows 10, which I'm not as happy about. > > I love using Google's App Engine so I don't need to worry about servers > etc. (Not Compute Engine) > > Anyways, any steps, advice, etc to easily code in Go and deploy to GAE. > > So far, I've figured that installing and running Go in Bash On Linux, but > coding in an IDE in Windows, is the easiest. Then deploy from Bash On > Windows. > > Does anyone else have a better way? > > Thanks! > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.