Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoInterface ¶
type GoInterface struct { StructName string CommentMap ast.CommentMap Methods []*GoMethod }
type Parser ¶
type Parser struct { FileSet *token.FileSet File *ast.File Source string Package string Imports map[string]string // path -> alias IFace *GoInterface IFaceFrom token.Pos IFaceTo token.Pos }
func (*Parser) ParseStructFromImports ¶
func (g *Parser) ParseStructFromImports(packageName, structName string) *om.OrderedMap
ParseStructFromImports return tag => Field
Click to show internal directories.
Click to hide internal directories.