Directories
¶
| Path | Synopsis |
|---|---|
|
demos
|
|
|
demo1x
command
Demo1x shows basic AST parsing and manipulation Parse Go source file into AST and extract package info Print AST structure for inspection and debugging
|
Demo1x shows basic AST parsing and manipulation Parse Go source file into AST and extract package info Print AST structure for inspection and debugging |
|
demo2x
command
Demo2x shows type reflection and package path extraction Extract package info from Go types using reflection Generate qualified type names for code generation
|
Demo2x shows type reflection and package path extraction Extract package info from Go types using reflection Generate qualified type names for code generation |
|
demo3x
command
Demo3x shows AST search and code element finding Search functions and types in parsed AST Navigate struct fields and extract declarations
|
Demo3x shows AST search and code element finding Search functions and types in parsed AST Navigate struct fields and extract declarations |
|
demo4x
command
Demo4x shows struct tag parsing and field extraction Parse GORM and JSON tags from struct field tags Extract specific fields and values from tag strings
|
Demo4x shows struct tag parsing and field extraction Parse GORM and JSON tags from struct field tags Extract specific fields and values from tag strings |
|
Package utils provides internal helper functions for syntaxgo These utilities serve the main syntaxgo package and are not exported Functions here handle common operations like string manipulation and file checks
|
Package utils provides internal helper functions for syntaxgo These utilities serve the main syntaxgo package and are not exported Functions here handle common operations like string manipulation and file checks |
Click to show internal directories.
Click to hide internal directories.