Debian Codegraph @

xml.go

raw symbols SCIP
1 package utils
2
3 // XMLMarshal returns the XML encoding of v.
4 type XMLMarshal func(v any) ([]byte, error)
5
6 // XMLUnmarshal parses the XML-encoded data and stores the result
7 // in the value pointed to by v. If v is nil or not a pointer,
8 // Unmarshal returns an InvalidUnmarshalError.
9 type XMLUnmarshal func(data []byte, v any) error