Another ASCII art weather (forecast) utility, but in Go: https://github.com/schachmat/wego
Can anyone explain why a dependency of this app is a "working Go environment"? I thought one of golang's selling points was the fact that it created a simple binary. As far as I can tell, the Go environment is simply being used as a cheap installer, is that correct?
A command-line weather app built using Elixir
11–20 of 67 posts
Re: A command-line weather app built using Elixir
#12Another ASCII art weather (forecast) utility, but in Go: https://github.com/schachmat/wego
Can anyone explain why a dependency of this app is a "working Go environment"? I thought one of golang's selling points was the fact that it created a simple binary. As far as I can tell, the Go environment is simply being used as a cheap installer, is that correct?
Re: A command-line weather app built using Elixir
#13Another ASCII art weather (forecast) utility, but in Go: https://github.com/schachmat/wego
Re: A command-line weather app built using Elixir
#14Another ASCII art weather (forecast) utility, but in Go: https://github.com/schachmat/wego
Can anyone explain why a dependency of this app is a "working Go environment"? I thought one of golang's selling points was the fact that it created a simple binary. As far as I can tell, the Go environment is simply being used as a cheap installer, is that correct?
So I think, at least as a go newbie, that its quite handy that pretty much every tool I might be interested in - because it was written in Go - comes with full sources onboard as a basic, starting-gate, expectation. At least, I am quite happy to be learning Go this way ..
Re: A command-line weather app built using Elixir
#15Earlier quoted context omitted.
Can anyone explain why a dependency of this app is a "working Go environment"? I thought one of golang's selling points was the fact that it created a simple binary. As far as I can tell, the Go environment is simply being used as a cheap installer, is that correct?
Because he's sharing the source code rather than a compiled binary. It's no different to having make + gcc listed as a dependency for C++ code.
$ env -i $(which go) get github.com/schachmat/wego
package github.com/schachmat/wego: cannot download, $GOPATH not set. For more details see: go help gopathRe: A command-line weather app built using Elixir
#16Earlier quoted context omitted.
Because he's sharing the source code rather than a compiled binary. It's no different to having make + gcc listed as a dependency for C++ code.
Strictly there is a little hindrance for the non-gopher user because this won't work until they set up a Go workspace, i.e. decided where they want GOPATH to be, set that, and added $GOPATH/bin to PATH to have the executable be runnable. $ env -i $(which go) get github.com/schachmat/wego package github.com/schachmat/wego: cannot download, $GOPATH not set. For more details see: go help gopath
Also, you left off GOROOT from your Go environment :)
Re: A command-line weather app built using Elixir
#17Earlier quoted context omitted.
Strictly there is a little hindrance for the non-gopher user because this won't work until they set up a Go workspace, i.e. decided where they want GOPATH to be, set that, and added $GOPATH/bin to PATH to have the executable be runnable. $ env -i $(which go) get github.com/schachmat/wego package github.com/schachmat/wego: cannot download, $GOPATH not set. For more details see: go help gopath
Indeed, but that's a separate point. The question was why Go was listed as a dependency and my answer was because it's a source code repository. Also, you left off GOROOT from your Go environment :)
You may have read it that way but the question was explicitly referring to "working Go environment"
Re: A command-line weather app built using Elixir
#18Re: A command-line weather app built using Elixir
#19Put this in a function. Done.
Gist here since copying and pasting above didn't work. https://gist.github.com/zaargy/384889cb44960e8559d5