Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Definition ¶
type Definition struct { Import godetector.Import Decl *ast.GenDecl Type *ast.TypeSpec TypeName string FS *token.FileSet FileDir string File *ast.File }
func (*Definition) StructFields ¶
func (def *Definition) StructFields() []*StField
type TypeScript ¶
type TypeScript struct {
Typer
}
func (*TypeScript) MapField ¶
func (tsg *TypeScript) MapField(st *StField) string
type Typer ¶
type Typer struct { Ordered []*Definition Parsed map[string]*Definition }
func (*Typer) Add ¶
func (tsg *Typer) Add(def *Definition)
func (*Typer) AddFromDir ¶
func (*Typer) AddFromFile ¶
func (*Typer) AddFromImport ¶
Click to show internal directories.
Click to hide internal directories.