eba7a63f4b
1. 优化json类 2. 优化数据库默认连接配置
15 lines
190 B
Go
15 lines
190 B
Go
package response
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
type XmlResponse struct {
|
|
Xml
|
|
}
|
|
|
|
func TestNewXmlByDefaultSuccess(t *testing.T) {
|
|
fmt.Println(&XmlResponse{Xml: NewXmlByDefaultSuccess()})
|
|
}
|