Documentation
¶
Index ¶
- func CommentGroupToString(comment *ast.CommentGroup) string
- func DefaultTypeMap(nodeTypes []string) map[string]int
- func DefaultTypeNilMap(nodeTypes []string) map[string]*int
- func ExprToString(expr ast.Expr) string
- func FilePathExists(path string) error
- func FormatStructName(expr *ast.SelectorExpr) string
- func FromEmptyMapKeysToSlice(someMap map[string]*int) []string
- func MethodWithoutReceiver(funcDecl *ast.FuncDecl) bool
- func MethodWithoutRecvList(funcDecl *ast.FuncDecl) bool
- func NodeToCode(fset *token.FileSet, node any) string
- func ParseFile(src string, fset *token.FileSet) *ast.File
- func ParseSource(src string, fset *token.FileSet) *ast.File
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommentGroupToString ¶
func CommentGroupToString(comment *ast.CommentGroup) string
func DefaultTypeMap ¶
func DefaultTypeNilMap ¶
func ExprToString ¶
func FilePathExists ¶
func FormatStructName ¶
func FormatStructName(expr *ast.SelectorExpr) string
func FromEmptyMapKeysToSlice ¶
func MethodWithoutReceiver ¶
func MethodWithoutRecvList ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.