Go to file
Young Xu 875a73a463
fix: nil pointer
2023-03-18 23:17:09 +08:00
testdata fix: nil pointer 2023-03-18 23:17:09 +08:00
.gitignore first commit 2023-01-01 16:38:14 +08:00
README.md first commit 2023-01-01 16:38:14 +08:00
go.mod fix: path 2023-03-03 23:03:26 +08:00
go.sum first commit 2023-01-01 16:38:14 +08:00
goast.go fix: nil pointer 2023-03-18 23:17:09 +08:00
goast_test.go fix: nil pointer 2023-03-18 23:17:09 +08:00
util.go fix: nil pointer 2023-03-18 23:17:09 +08:00

README.md

GOAST

GoAst 是一个go文件解析器

提供能力:

  • 获取所有的变量定义
  • 获取所有的常量定义
  • 获取所有的函数定义
  • 获取所有的结构体定义
  • 获取所有的方法定义