beegoinit/response/xml_test.go
liangzy eba7a63f4b 两项优化
1. 优化json类
2. 优化数据库默认连接配置
2020-08-11 14:31:27 +08:00

15 lines
190 B
Go

package response
import (
"fmt"
"testing"
)
type XmlResponse struct {
Xml
}
func TestNewXmlByDefaultSuccess(t *testing.T) {
fmt.Println(&XmlResponse{Xml: NewXmlByDefaultSuccess()})
}