Re:Show HN: Encrypted VPN in 2k lines of Go
by twitchyliquid64 on Thursday October 05, 2017 @10:28AM
(#15409453)
Thanks! This is definitely something I need to get around to once I read up a bit more on vendoring.
Re:Show HN: Encrypted VPN in 2k lines of Go
by freedomben on Thursday October 05, 2017 @11:02PM
(#15414143)
Check out the `dep` tool: https://github.com/golang/dep
It is the future of official vendoring tools.
You could also look at `govendor`: https://github.com/kardianos/govendor
I've used govendor in some projects and found it agreeable. Best of luck :-)
Re:Show HN: Encrypted VPN in 2k lines of Go
by weitzj on Friday October 06, 2017 @02:24AM
(#15414825)
Checkout https://github.com/cloudflare/hellogopher
to get you started with a nice workflow. Uses gvt for vendoring. Tests over multiple packages are globbed correctly
Re:Show HN: Encrypted VPN in 2k lines of Go
by genieyclo on Thursday October 05, 2017 @10:06AM
(#15409249)
Good job! I'm looking into trying Go soon, is there something you'd recommend looking at for learning the Go ecosystem norms?
Re:Show HN: Encrypted VPN in 2k lines of Go
by sethammons on Thursday October 05, 2017 @10:47PM
(#15414094)
The first is doing the tour at golang.org, then reading Effective Go at https://golang.org/doc/effective_go.html. There are lots of good reads at the golang blog, such as https://blog.golang.org/organizing-go-code. I really enjoy Go, and hope you do too!
EDIT: got off my mobile and to a laptop and submitted https://github.com/twitchyliquid64/subnet/issues/3.