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

Doc: golint-ify pin package #4696

Merged
merged 2 commits into from
Feb 13, 2018
Merged

Doc: golint-ify pin package #4696

merged 2 commits into from
Feb 13, 2018

Conversation

hsanjuan
Copy link
Contributor

This removes all golint warnings in the pin package.

Due to stuttering, I had to rename pin.PinMode to pin.Mode. I can revert that specific commit though.

Protobuf stuff not touched.

License: MIT
Signed-off-by: Hector Sanjuan <[email protected]>
License: MIT
Signed-off-by: Hector Sanjuan <[email protected]>
@hsanjuan hsanjuan self-assigned this Feb 13, 2018
@ghost ghost added the status/in-progress In progress label Feb 13, 2018
@@ -141,19 +151,19 @@ type Pinner interface {
InternalPins() []*cid.Cid
}

// Pinned represents CID which has been pinned with a pinning strategy.
// The Via field allows to identify the pinning parent of this CID, in the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Phrasing here is a bit weird "allows to identify"

@whyrusleeping whyrusleeping merged commit 18a9a69 into master Feb 13, 2018
@ghost ghost removed the status/in-progress In progress label Feb 13, 2018
@whyrusleeping whyrusleeping deleted the doc/golint-pin branch February 13, 2018 20:54
@whyrusleeping
Copy link
Member

@hsanjuan you're the best

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.

2 participants