Skip to content
This repository was archived by the owner on May 9, 2021. It is now read-only.

Flag exported types and methods from the sync package#289

Closed
s111 wants to merge 1 commit intogolang:masterfrom
s111:lintexportedmutex
Closed

Flag exported types and methods from the sync package#289
s111 wants to merge 1 commit intogolang:masterfrom
s111:lintexportedmutex

Conversation

@s111
Copy link
Copy Markdown

@s111 s111 commented Apr 27, 2017

This pull request adds a method which flags exported structs that expose any types or members of the sync package. I believe it is desired to encapsualte your locking mechanisms and not expose them to your users. Is this something that is worth checking for, and does it fit the scope of this tool?

@googlebot
Copy link
Copy Markdown

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@s111
Copy link
Copy Markdown
Author

s111 commented Apr 27, 2017

I signed it!

@googlebot
Copy link
Copy Markdown

CLAs look good, thanks!

@andybons
Copy link
Copy Markdown
Member

Thanks for the PR.

This appears to be out of scope and so is being closed. If you feel this is in error please feel free to re-open.

Please note this is not the forum to discuss edits to CodeReviewComments. If you wish to propose changes to it please send a mail to golang-nuts.

@andybons andybons closed this Feb 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants