Skip to content

Commit

Permalink
chore: format the code (#4518)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevwan authored Dec 22, 2024
1 parent f57874a commit 2159d11
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions tools/goctl/pkg/parser/api/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ import (
)

const (
idAPI = "api"
groupKeyText = "group"
infoTitleKey = "Title"
infoDescKey = "Desc"
infoVersionKey = "Version"
infoAuthorKey = "Author"
infoEmailKey = "Email"
idAPI = "api"
groupKeyText = "group"
infoTitleKey = "Title"
infoDescKey = "Desc"
infoVersionKey = "Version"
infoAuthorKey = "Author"
infoEmailKey = "Email"
)

// Parser is the parser for api file.
Expand Down
2 changes: 1 addition & 1 deletion tools/goctl/pkg/parser/api/parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ func TestParser_Parse_atServerStmt(t *testing.T) {
"prefix3:": "v1/v2_",
"prefix4:": "a-b-c",
"summary:": `"test"`,
"key:": `"bar"`,
"key:": `"bar"`,
}

p := New("foo.api", atServerTestAPI)
Expand Down

0 comments on commit 2159d11

Please sign in to comment.