How to use the Go parser package to identify types in source code

Frédéric G. MARAND 2e535a9e3f WIP typeSpec 2 éve
.idea 0b426adbd6 First commit: locate type spec declarations. 2 éve
parse_just_imports_in_single_file 0b426adbd6 First commit: locate type spec declarations. 2 éve
.gitignore d9968950f3 Initial commit 2 éve
LICENSE d9968950f3 Initial commit 2 éve
README.md d9968950f3 Initial commit 2 éve
decl.go 2e535a9e3f WIP typeSpec 2 éve
expr.go 2e535a9e3f WIP typeSpec 2 éve
go.mod 0b426adbd6 First commit: locate type spec declarations. 2 éve
main.go 2e535a9e3f WIP typeSpec 2 éve
parse.go 2e535a9e3f WIP typeSpec 2 éve
stmt.go 2e535a9e3f WIP typeSpec 2 éve

README.md

go__parsing_demo

How to use the Go parser package to identity types in source code