Versions in this module Expand all Collapse all v2 v2.6.9 Nov 11, 2024 v2.6.8 Nov 11, 2024 Changes in this version + const Any + const ImportKeyword + const Info + const MapKeyword + const Returns + const Service + const Syntax + const TypeKeyword + var EofToken = Token + var ErrorToken = Token + var HttpMethods = []interface + var IllegalPosition = Position + type Position struct + Column int + Filename string + Line int + func (p Position) String() string + type Token struct + Position Position + Text string + Type Type + func NewIllegalToken(b rune, pos Position) Token + func (t Token) Fork(tp Type) Token + func (t Token) Is(text ...string) bool + func (t Token) IsBaseType() bool + func (t Token) IsComment() bool + func (t Token) IsDocument() bool + func (t Token) IsEmptyString() bool + func (t Token) IsHttpMethod() bool + func (t Token) IsKeyword() bool + func (t Token) IsType(tp Type) bool + func (t Token) Line() int + func (t Token) String() string + func (t Token) Valid() bool + type Type int + const ANY + const ASSIGN + const AT_DOC + const AT_HANDLER + const AT_SERVER + const BREAK + const CASE + const CHAN + const COLON + const COMMA + const COMMENT + const CONST + const CONTINUE + const DEFAULT + const DEFER + const DOCUMENT + const DOT + const DURATION + const ELLIPSIS + const ELSE + const EOF + const FALLTHROUGH + const FOR + const FUNC + const GO + const GOTO + const IDENT + const IF + const ILLEGAL + const IMPORT + const INT + const INTERFACE + const KEY + const LBRACE + const LBRACK + const LPAREN + const MAP + const MUL + const PACKAGE + const PATH + const QUO + const RANGE + const RAW_STRING + const RBRACE + const RBRACK + const RETURN + const RPAREN + const SELECT + const SEMICOLON + const STRING + const STRUCT + const SUB + const SWITCH + const TYPE + const VAR + func LookupKeyword(ident string) (Type, bool) + func (t Type) String() string v2.6.7 Jul 12, 2024 Other modules containing this package github.com/SinTod/goctl