Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've changed our package management to the modern go modules. These go modules are included in every go installation, so no additional software is necessary.
To build the go code, it has to be OUTSIDE of the GOPATH or run with
GO111MODULE=on
. Also the Code can only build with go 1.11 onwards. I recommend using go 1.13.Additionally i changed the Makefile to work with go modules. I also cleaned up the Makefile, it had a lot of deprecated things in it.
Useful go modules commands:
go list -u -m -json all | go-mod-outdated -update -direct
to get a list of outdated dependencies. If not installed:https://github.com/psampaz/go-mod-outdated
go get -u ./...
Update all dependencies or edit the go.mod file manuallygo mod tidy
cleanup go.mod and remove all no-longer-needed dependenciesgo get
will install a dependency like normalhttps://github.com/golang/go/wiki/Modules
This PR has to be updated, when #158 is merged, or vice versa :)