Skip to content

Move to Standard library Context package #420

@GrimmKull

Description

@GrimmKull

Context is now a Standard Go library. It is the same code as golang.org/x/net/context.
The only thing that is missing is ctxhttp used in only for HTTP microservice clients.

I have a suggestion. To add a new branch to the main go-kit repository that uses the standard Context package and the ctxhttp implementation.

The code with these changes is available in GrimmKull fork in a separate 1.7context branch.

What do you guys think?

P.S.:

If anyone wants to use this before it gets moved to the main repository you can use vendoring.

Example:

govendor fetch "github.com/go-kit/kit/endpoint::github.com/GrimmKull/kit/endpoint@1.7context"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions