Earlier quoted context omitted.
All Go packages can be found on godoc.org Installed with "go get" And if you want to vendor the dependencies use godep.
Thanks. And how can I define the version of the module which should be imported?
Stages of learning Go, with code examples
11–20 of 118 posts
Re: Stages of learning Go, with code examples
#12It's a tool, not a religion. Don't try to turn it into a cult.
I gave talk that conveys similar sentiment. Slide: https://speakerdeck.com/nexneo/joy-of-single-purpose-service...
Re: Stages of learning Go, with code examples
#13In what way is Go code composable?
Re: Stages of learning Go, with code examples
#14Just wondering, does Go finally has a package manager with proper versioning of modules? Edit: Somebody is heavily downvoting me on every reply, I would love to know why. I like Go and want to get into it since a few months but the missing package manager held me off. So what is wrong about my question?
I've written up a tutorial about it using git-subtree:
Re: Stages of learning Go, with code examples
#15> Phase 4 (the expert): You understand the design choices and motivations behind the language. You grok the philosophy of simplicity and composability. In what way is Go code composable?
Re: Stages of learning Go, with code examples
#16Earlier quoted context omitted.
All Go packages can be found on godoc.org Installed with "go get" And if you want to vendor the dependencies use godep.
Thanks. And how can I define the version of the module which should be imported?
It does completely sidestep version dependencies hell and encourages you to think carefully about which dependencies you package. It does that by making you manually responsible for keeping dependencies up to date if you distribute other people's code with your own.
So, in answer to your original question, no go doesn't finally have a package manager with proper versioning (at least no official one). In practice, this is not as big an issue as you might think if you come from a language with such a package manager. In practice, I haven't really found it as much of a burden as I thought I might.
Re: Stages of learning Go, with code examples
#17> Phase 4 (the expert): You understand the design choices and motivations behind the language. You grok the philosophy of simplicity and composability. In what way is Go code composable?
There is countless proof about Go's composability through functions and interface, but I keep coming back to that one document.
Re: Stages of learning Go, with code examples
#18Re: Stages of learning Go, with code examples
#19[deleted]
Re: Stages of learning Go, with code examples
#20Earlier quoted context omitted.
All Go packages can be found on godoc.org Installed with "go get" And if you want to vendor the dependencies use godep.
Thanks. And how can I define the version of the module which should be imported?