Registry / serialization / go-xmlfmt-xmlfmt

go-xmlfmt-xmlfmt

JSON →
library1.1.3gogounverified

Package xmlfmt provides XML formatting and indentation.

go get github.com/go-xmlfmt/xmlfmt
INSTALL
IMPORT
SIG · GO-XMLFMT-XMLFMT
G
go-xmlfmt-xmlfmt
serializationgov1.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

xmlfmt
✓ github.com/go-xmlfmt/xmlfmt

Format XML string

package main import ( "fmt" "github.com/go-xmlfmt/xmlfmt" ) func main() { input := `<root><child>text</child></root>` output := xmlfmt.FormatXML(input, "", " ") fmt.Println(output) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
go-xmlfmt-xmlfmt — go get go-xmlfmt-xmlfmt · libregistry