- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestUnmarshaler (0.1 sec)
-
src/encoding/xml/read_test.go
} var _ UnmarshalerAttr = (*MyAttr)(nil) type MyStruct struct { Data *MyCharData Attr *MyAttr `xml:",attr"` Data2 MyCharData Attr2 MyAttr `xml:",attr"` } func TestUnmarshaler(t *testing.T) { xml := `<?xml version="1.0" encoding="utf-8"?> <MyStruct Attr="attr1" Attr2="attr2"> <Data>hello <!-- comment -->world</Data> <Data2>howdy <!-- comment -->world</Data2> </MyStruct> `
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 29.1K bytes - Viewed (0)