Re: [go-nuts] go run requires internet connection?

2020-04-09 Thread Personal
> On 8 Apr 2020, at 20.00, Tanmay Das wrote: > > Hey Gophers, > My very first post here. > > Today I faced an unexpected power outage and I wanted to tinker with Go a > little bit. I wrote a simple hello world program and ran > go run helloworld.go > > Strangely the code didn't run. In fact

Re: [go-nuts] go run requires internet connection?

2020-04-08 Thread Tanmay Das
It's a simple hello world program that doesn't require any go-gettable package: package main import ( "fmt" ) func main() { fmt.Println("Hello World") } On Wednesday, April 8, 2020 at 10:30:31 PM UTC+6, Marvin Renich wrote: > > * Tanmay Das > [200408 12:17]: > > Hey Gophers, > > My very fir

Re: [go-nuts] go run requires internet connection?

2020-04-08 Thread Harald Weidner
Hello, On Wed, Apr 08, 2020 at 06:00:19AM -0700, Tanmay Das wrote: > go run helloworld.go > > Strangely the code didn't run. In fact, the terminal prompt never exited. I > kept running the same command over and over again but no luck. You can run "go run -x helloworld.go" to see what the toolcha

Re: [go-nuts] go run requires internet connection?

2020-04-08 Thread Marvin Renich
* Tanmay Das [200408 12:17]: > Hey Gophers, > My very first post here. > > Today I faced an unexpected power outage and I wanted to tinker with Go a > little bit. I wrote a simple hello world program and ran > go run helloworld.go > > Strangely the code didn't run. In fact, the terminal prompt

Re: [go-nuts] go run requires internet connection?

2020-04-08 Thread Ian Lance Taylor
On Wed, Apr 8, 2020 at 9:17 AM Tanmay Das wrote: > > Hey Gophers, > My very first post here. > > Today I faced an unexpected power outage and I wanted to tinker with Go a > little bit. I wrote a simple hello world program and ran > go run helloworld.go > > Strangely the code didn't run. In fact,

[go-nuts] go run requires internet connection?

2020-04-08 Thread Tanmay Das
Hey Gophers, My very first post here. Today I faced an unexpected power outage and I wanted to tinker with Go a little bit. I wrote a simple hello world program and ran go run helloworld.go Strangely the code didn't run. In fact, the terminal prompt never exited. I kept running the same comman