View original Gist on GitHub
Tags: #AST
Use http://goast.yuroyoro.net/ to parse some go code and then you can use that output to help visually inform your own go code that uses the ast package https://pkg.go.dev/go/ast@go1.17.2
ast