Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To bring it inline with the improved and mandatory go.mod package system #104

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wade-welles
Copy link

I removed the use of Gopkg module management and replaced it with go.mod that is much improved now, and mandatory in modern versions of Go (which I'm not actually a fan of but besides the point).

I was unable to build it before but now you can easily build it by pulling it down, calling go mod tidy and go mod build

I also updated the Makefile too, so now someone wanting to build it from source should now be able to simply clone it and run the make and it will build.

Your Name added 2 commits January 31, 2023 00:03
…tialized it and was able to get the binary to build
…w the makefile should work straight away without issue
Copy link
Collaborator

@ncw ncw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This project is in maintenance mode only, but getting it to build is important so thanks for doing this.

I put a couple of minor queries inline.

@@ -0,0 +1,9 @@
# github.com/t3rm1n4l/go-humanize v0.0.0-20121229052809-e7ed15be05eb
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the vendor directory and this file at all any more?

go get -u golang.org/x/tools/cmd/goimports
go get -u github.com/golang/lint/golint
go mod tidy
#go get -u github.com/kisielk/errcheck
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should probably say

go install github.com/kisielk/errcheck

To bring them up to date!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants