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

Feature/gokit v0.5.0 support #216

Closed
wants to merge 3 commits into from
Closed

Feature/gokit v0.5.0 support #216

wants to merge 3 commits into from

Conversation

matthewhartstonge
Copy link
Contributor

@matthewhartstonge matthewhartstonge commented Jul 31, 2017

I noticed between starting this, there was a PR that moved middlewares into the handlers folder, which now causes a cyclic dependency.
Currently with this PR I've moved middlewares.go back out in order to remove the cycle, hence integration tests break. I believe this was to make it easier for the end user by having everything in handlers/?
What are your thoughts on removing this cycle?

@hasLeland
Copy link
Contributor

hasLeland commented Aug 3, 2017

@matthewhartstonge As far as I can tell from a brief look, the cyclic dependency is at its root due to the creation of the {{GoName .Service.Name}}Server interface within handlers/handlers.go.

That interface should probably go in a separate file in the same folder where the .pb.go file is located. That way it can be used in place of the pb.NAMEServer interface.

@zaquestion
Copy link
Member

GoKit potential upgrade is being covered here: #224

@zaquestion zaquestion closed this Aug 3, 2017
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.

3 participants