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

Export & document parsing logic #20

Merged
merged 1 commit into from
Aug 25, 2023
Merged

Conversation

ericcornelissen
Copy link
Owner

Summary

Update parse.go to intentionally export parsing logic in order to allow re-use of the logic for parsing GitHub Actions workflow and manifest files. Even if incomplete, it may be re-usable, plus I'm willing to expand the structs to allow more use cases (it may come in handy for this project in the future). As exported funcs (and structs), these have been given documentation for completeness.

Update `parse.go` to intentionally export parsing logic in order to
allow re-use of the logic for parsing GitHub Actions workflow and
manifest files. Even if incomplete, it may be re-usable, plus I'm
willing to expand the structs to allow more use cases (it may come
in handy for this project in the future). As exported funcs (and
structs) there have been given documentation for completeness.

The rest of the codebase is kept unexported. While the parsing logic
is unlikely to see a breaking change (with the struct renames), the
rest of the codebase is, at this point in time, still unstable and
likely to have API changes.

Signed-off-by: Eric Cornelissen <ericornelissen@gmail.com>
@ericcornelissen ericcornelissen merged commit 488140d into main Aug 25, 2023
9 checks passed
@ericcornelissen ericcornelissen deleted the intentional-exports branch August 25, 2023 16:18
@ericcornelissen ericcornelissen added documentation Improvements or additions to documentation refactor Changes existing code without changing functionality labels Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation refactor Changes existing code without changing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant