You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-zero/tools/goctl/api/parser/vars.go

21 lines
515 B
Go

package parser
const (
infoDirective = "info"
serviceDirective = "service"
typeDirective = "type"
typeStruct = "struct"
routeSyntax = "route syntax: [get/post/delete] /path(request) returns[(response)]"
returnsTag = "returns"
at = '@'
colon = ':'
leftParenthesis = '('
rightParenthesis = ')'
leftBrace = "{"
rightBrace = '}'
multilineBeginTag = '>'
multilineEndTag = '<'
semicolon = ';'
newline = "\n"
)