Skip to content

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

Merged
mergify[bot] merged 1 commit intoceph:masterfrom
phlogistonjohn:jjm-implements-exported
Apr 28, 2022
Merged

implements: a public function's type must be exported too#674
mergify[bot] merged 1 commit intoceph:masterfrom
phlogistonjohn:jjm-implements-exported

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
Signed-off-by: John Mulligan <jmulligan@redhat.com>
@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