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

Add go.mod #93

Merged
merged 1 commit into from
Jul 5, 2021
Merged

Add go.mod #93

merged 1 commit into from
Jul 5, 2021

Conversation

AlekSi
Copy link
Contributor

@AlekSi AlekSi commented Jul 5, 2021

Converting this package to Go modules makes it easier to use module proxies, etc.

Additionally, bump Go versions in Travis CI configuration.

@@ -0,0 +1,3 @@
module github.com/dustin/go-humanize

go 1.16
Copy link
Contributor Author

Choose a reason for hiding this comment

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

That doesn't mean that only 1.16+ is supported: https://golang.org/ref/mod#go-mod-file-go

Converting this package to Go modules makes it easier to use module proxies, etc.

Additionally, bump Go versions in Travis CI configuration,
and add new //go:build directives (https://tip.golang.org/cmd/go/#hdr-Build_constraints).
@dustin dustin merged commit 249ff6c into dustin:master Jul 5, 2021
@dustin
Copy link
Owner

dustin commented Jul 5, 2021

OK, thanks for doing this. I've not been keeping up.

@AlekSi AlekSi deleted the module branch September 14, 2021 07:55
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