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

implements: a public function's type must be exported too #674

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

phlogistonjohn
Copy link
Collaborator

@phlogistonjohn phlogistonjohn commented Apr 25, 2022

The implements API checker should not treat a function as exported if it's type is not exported.

Certain APIs, such as those pertaining to JSON require public methods on unexported types. Since the type is not exported implements should not worry about it.

@phlogistonjohn phlogistonjohn added the no-API This PR does not include any changes to the public API of a go-ceph package label Apr 25, 2022
@phlogistonjohn phlogistonjohn force-pushed the jjm-implements-exported branch from 8e7ab1f to 51696ee Compare April 28, 2022 02:17
@mergify mergify bot merged commit a54c6e7 into ceph:master Apr 28, 2022
@phlogistonjohn phlogistonjohn deleted the jjm-implements-exported branch June 9, 2022 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-API This PR does not include any changes to the public API of a go-ceph package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants