Skip to content

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

Open
wade-welles wants to merge 2 commits into
t3rm1n4l:masterfrom
wade-welles:master
Open

To bring it inline with the improved and mandatory go.mod package system#104
wade-welles wants to merge 2 commits into
t3rm1n4l:masterfrom
wade-welles:master

Conversation

@wade-welles
Copy link
Copy Markdown

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
Copy Markdown
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.

Comment thread vendor/modules.txt
@@ -0,0 +1,9 @@
# github.com/t3rm1n4l/go-humanize v0.0.0-20121229052809-e7ed15be05eb
Copy link
Copy Markdown
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?

Comment thread Makefile
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
Copy Markdown
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