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

added go mod #141

Merged
merged 1 commit into from Jun 18, 2019
Merged

added go mod #141

merged 1 commit into from Jun 18, 2019

Conversation

siennathesane
Copy link
Collaborator

Make things a bit more portable.

Signed-off-by: Mike Lloyd mike@reboot3times.org

janisz
janisz previously approved these changes Jun 18, 2019
@coveralls
Copy link

coveralls commented Jun 18, 2019

Coverage Status

Coverage remained the same at 90.743% when pulling 5537192 on go-mod into 0605c28 on master.

Signed-off-by: Mike Lloyd <mike@reboot3times.org>
@siennathesane
Copy link
Collaborator Author

@janisz sorry, had to fix a pgp key issue, can you please re-review?

github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
github.com/coocood/freecache v1.1.0 h1:ENiHOsWdj1BrrlPwblhbn4GdAsMymK3pZORJ+bJGAjA=
github.com/coocood/freecache v1.1.0/go.mod h1:ePwxCDzOYvARfHdr1pByNct1at3CoKnsipOHwKlNbzI=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
Copy link
Collaborator

Choose a reason for hiding this comment

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

We don't have this dependency in go.mod, that's strange that it's here 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Those are dependencies of our testing/benchmark dependencies.

$ go mod why github.com/OneOfOne/xxhash
# github.com/OneOfOne/xxhash
github.com/allegro/bigcache/caches_bench
github.com/coocood/freecache
github.com/cespare/xxhash
github.com/cespare/xxhash.test
github.com/OneOfOne/xxhash


require (
github.com/cespare/xxhash v1.1.0 // indirect
github.com/coocood/freecache v1.1.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

Sounds like a good task for the future: remove freecache dependency.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's a dependency of our benchmarking and comparison tests, not a direct dependency of bigcache itself.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Anyway that's useless 😉

@cristaloleg
Copy link
Collaborator

BTW, should we increase major version now?

@siennathesane
Copy link
Collaborator Author

BTW, should we increase major version now?

Yeah, might as well.

@siennathesane siennathesane merged commit 69ea0af into master Jun 18, 2019
@siennathesane
Copy link
Collaborator Author

@cristaloleg cristaloleg deleted the go-mod branch June 18, 2019 19:19
@maciej
Copy link

maciej commented Jun 19, 2019

I'm scratching my head trying to understand how is this PR /making things more portable/ as you said than what I submitted in #137?

@siennathesane
Copy link
Collaborator Author

more portable/ as you said than what I submitted in #137?

It doesn't, sorry for not accepting yours. I was addressing a couple things at the time and I didn't think about it, there was nothing wrong with your PR. My fault! Your contributions are still welcome, though!

flisky pushed a commit to flisky/bigcache that referenced this pull request May 7, 2020
Signed-off-by: Mike Lloyd <mike@reboot3times.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants