Converted to Go Modules from using Dep #3
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.
Hi — I converted your project to using Go Modules instead of Dep.
I did not remove Dep's
Gopkg.*
files or the/vendor
directory so that it would be easier to review the PR, but ideally you probably want to remove them using these commands from the repo root if Mac/Linux:If Windows, I am sure you can figure it out.
I also added a
build-run.sh
command that should run on Mac/Linux to show how it needed to be compiled with modules, and to generate an output executable asbin/sa-bot
. The-mod=mod
switch won't be required once you remove/delete the above mentioned/vendor
directory.I hope this is useful and that you can accept this pull request.
Also, would be great if you could follow up and add that promised LICENSE file to your repo. Thanks in advance.