update define

This commit is contained in:
2024-12-23 16:07:10 +08:00
parent 1ef5dad7a9
commit 8f4c6c3b6b
4 changed files with 5 additions and 3 deletions

View File

@ -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],
},