Skip to content

Conversation

@ydnar
Copy link
Contributor

@ydnar ydnar commented Oct 24, 2023

This PR tracks the self-closing feature as a single commit, stackable on top of golang/go#48641.

To use, add the following line to your go.mod file and run go mod tidy:

require github.com/nbio/xml self-closing

@ydnar ydnar marked this pull request as draft October 24, 2023 18:44
@ydnar ydnar self-assigned this Oct 24, 2023
add ,selfclosing flag to xml struct tags

support ,selfclosing flag on XMLName fields
@ydnar ydnar changed the title xml: implement self-closing XML tags xml: self-closing XML tags Oct 24, 2023
ndbeals and others added 3 commits November 25, 2024 14:19
Merge changes from `main` into `self-closing`
Co-authored-by: Rob Rimmer <developer@atrico.net>
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.

4 participants