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 travis.yml from upstream:master #6

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

Conversation

upbit
Copy link
Owner

@upbit upbit commented Jul 28, 2019

No description provided.

kevinburke and others added 15 commits May 12, 2018 17:39
This will run automated tests against PR's for the groupcache library.
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
* http: make request with context

- use ctx naming convention
- use context.TODO() instead of nil

Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
Pull request #131 deleted the Context declaration,
which broke most usages of this package since users needed to implement
the interfaces mentioned in this package by referencing the
groupcache.Context type. However, that type was removed from peers.go
in the mentioned pull request.

Technically, #131 is a breaking change since groupcache.Context
was an interface{}, and the PR switched it to be context.Context.
Fortunately, it seems that all users are passing a context.Context
anyways so that the type safety just checks out.

However, most users are still referencing groupcache.Context.
Add a go.mod file

As of Go 1.24 rand.Seed is a no-op. Change TestPeers to use an explicit rand.Rand instead.
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.