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.
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 = ';'
|
|
)
|