支持xml配置文件解析

This commit is contained in:
2024-10-23 18:41:41 +08:00
parent bfa244f97d
commit b9826a24a0
2 changed files with 26 additions and 3 deletions

4
xml.go
View File

@ -13,6 +13,10 @@ import (
"io"
)
var (
Xml = &ownXml{}
)
type ownXml struct{}
func (o *ownXml) UnmarshalWithNumber(byteData []byte, receiver any) error {