-
Notifications
You must be signed in to change notification settings - Fork 4
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 and use server package #41
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
9f3779d
to
12b2d8b
Compare
102cfac
to
4205c3f
Compare
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly some cleanup we need to do
This comment has been minimized.
This comment has been minimized.
lint report has some items |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice! Just one minor nit
This comment has been minimized.
This comment has been minimized.
For the linting report, is it necessary to check the error value of the logger? |
I've been prepending those lines with |
I wonder if we can tweak the linter to ignore log return values specifically without having to do either this or a //nolint comment? This is annoying to have to do. There's an exhausting discussion here: go-kit/kit#164 |
""" |
so it seems that we should create an adapter layer that deals with (ignores) the errors so we don't have to hack the call site to satisfy the linter. Example: go-kit/kit#164 (comment) |
Should I try to fix the linting in a separate PR? |
you should at least fix the dead code lint, but yeah we can address the logging lint later |
and you do want to check the value of server.Run, like: go func() { |
This comment has been minimized.
This comment has been minimized.
Go coverage report: Click to expand.
Go lint report: Click to expand.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! good work importing this raft of packages
This PR adds and uses a server package to handle the requests.