simple guide to vendoring in golang. (uses rubigo as dependency manager - which is quite similar to php composer)
- rubigo looks very promising
- rubigo is in beta
- rubigo failed to resolve dependencies - defined by gleam-project
--> currently, glide is favoured, since it was able to resolve & install dependencies of gleam-project see: https://github.com/bastman/go-learn-vendoring-glide
- download from: https://github.com/yaa110/rubigo/releases
$ rubigo install
$ rubigo update
$ go build linq-example.go
$ ./linq-example
$ rubigo init
--> creates rubigo.json
$ rubigo get github.com/ahmetb/go-linq
--> installs a package into projects vendor folder
--> adds the dependency into rubigo.json
--> creates/updates rubigo.lock file
$ rubigo install
$ rubigo update