mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 01:30:25 +08:00
ee45b0a459
* rebase upstream * rebase * trim no need line * trim no need line * trim no need line * update doc * remove update * optimized route parser Co-authored-by: kingxt <dream4kingxt@163.com>
20 lines
489 B
Go
20 lines
489 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 = ';'
|
|
)
|