update define
This commit is contained in:
@ -25,12 +25,12 @@ func TestGenerate(t *testing.T) {
|
||||
Info: define.Info{
|
||||
Description: "测试",
|
||||
Title: "测试",
|
||||
Contact: define.Contact{
|
||||
Contact: &define.Contact{
|
||||
Name: "白茶",
|
||||
Url: "http://www.baidu.com",
|
||||
Email: "go@email.com",
|
||||
},
|
||||
License: define.License{
|
||||
License: &define.License{
|
||||
Name: consts.LicenseApache20,
|
||||
Url: consts.LicenseUrlTable[consts.LicenseApache20],
|
||||
},
|
||||
|
Reference in New Issue
Block a user