-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Docs: golint-ify "importers" module #4640
Conversation
This fixes all golint warnings in the importers module, adding documentation and module descriptions. License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
// Layout builds a balanced DAG. Data is stored at the leaves | ||
// and depth only increases when the tree is full, that is, when | ||
// the root node has reached the maximum number of links. | ||
func Layout(db *h.DagBuilderHelper) (ipld.Node, error) { |
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.
Be aware there are two or three API changes due to stuttering
.
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.
Does golint complain about stuttering
or is that just a personal preference?
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.
It complains about it
I changed it unnoticedly. License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
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.
The best kind of PR
This fixes all golint warnings in the importers module, adding
documentation and module descriptions.
License: MIT
Signed-off-by: Hector Sanjuan hector@protocol.ai