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

refactor: use encoding/xml instead of go-xmlfmt/xmlfmt #63

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

alexandear
Copy link
Contributor

The PR proposes to refactor the WriteCheckstyle implementation, and use xml.MarshalIndent instead of go-xmlfmt/xmlfmt.FormatXML. This allows dropping the github.com/go-xmlfmt/xmlfmt to minimize external dependencies and simplify maintenance. There is no need for an external dependency when we can utilize the standard library.

@alexandear alexandear force-pushed the refactor/remove-xmlfmt branch from f3de069 to 3231dd9 Compare November 27, 2024 22:23
@alexandear alexandear force-pushed the refactor/remove-xmlfmt branch from 3231dd9 to 3532919 Compare November 27, 2024 22:25
@ryancurrah
Copy link
Owner

Thanks!

@ryancurrah ryancurrah merged commit c25beed into ryancurrah:main Nov 29, 2024
1 check failed
@alexandear alexandear deleted the refactor/remove-xmlfmt branch November 29, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants