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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(internal/godocfx): move pkg loading to separate package #3917

Merged
merged 2 commits into from Apr 13, 2021
Merged

Conversation

tbpg
Copy link
Contributor

@tbpg tbpg commented Apr 12, 2021

I'd like to be able to reuse the package loading function for example
generation. So, to make it importable, I refactored it into another package.

There are no changes to the code beyond exporting necessary identifiers
(and, you know, moving the code).

I copied the hasPrefix utility because it's useful. 馃槃

This is all internal, so there are no concerns about exporting identifiers and
keeping compatibility over time.

Updates #3916.

I'd like to be able to reuse the package loading function for a new
tool. So, to make it importable, I refactored it into another package.

There are no changes to the code beyond exporting necessary identifiers
(and, you know, moving the code).
@tbpg tbpg requested review from codyoss and noahdietz April 12, 2021 14:57
@tbpg tbpg requested a review from a team as a code owner April 12, 2021 14:57
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Apr 12, 2021
@tbpg tbpg merged commit 280abdb into master Apr 13, 2021
@tbpg tbpg deleted the pkgload branch April 13, 2021 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants