mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-10 16:30:01 +08:00
chore: format the code (#4518)
This commit is contained in:
@@ -13,13 +13,13 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
idAPI = "api"
|
idAPI = "api"
|
||||||
groupKeyText = "group"
|
groupKeyText = "group"
|
||||||
infoTitleKey = "Title"
|
infoTitleKey = "Title"
|
||||||
infoDescKey = "Desc"
|
infoDescKey = "Desc"
|
||||||
infoVersionKey = "Version"
|
infoVersionKey = "Version"
|
||||||
infoAuthorKey = "Author"
|
infoAuthorKey = "Author"
|
||||||
infoEmailKey = "Email"
|
infoEmailKey = "Email"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Parser is the parser for api file.
|
// Parser is the parser for api file.
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ func TestParser_Parse_atServerStmt(t *testing.T) {
|
|||||||
"prefix3:": "v1/v2_",
|
"prefix3:": "v1/v2_",
|
||||||
"prefix4:": "a-b-c",
|
"prefix4:": "a-b-c",
|
||||||
"summary:": `"test"`,
|
"summary:": `"test"`,
|
||||||
"key:": `"bar"`,
|
"key:": `"bar"`,
|
||||||
}
|
}
|
||||||
|
|
||||||
p := New("foo.api", atServerTestAPI)
|
p := New("foo.api", atServerTestAPI)
|
||||||
|
|||||||
Reference in New Issue
Block a user