goast-viewer
Golang AST visualizer (by yuroyoro)
goblin
convert from a Go AST to JSON (by ReconfigureIO)
Our great sponsors
goast-viewer | goblin | |
---|---|---|
1 | 1 | |
754 | 41 | |
- | - | |
0.0 | 10.0 | |
5 months ago | over 3 years ago | |
JavaScript | Go | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
goast-viewer
Posts with mentions or reviews of goast-viewer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-05.
-
Analyzing AST in Go with JSON tools
Also, since the format is very specific, you can’t use any tools to navigate it, except text search. Tools like goast-viewer can help with this, but capabilities are limited.
goblin
Posts with mentions or reviews of goblin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-05.
-
Analyzing AST in Go with JSON tools
One project goblin, which I tried to use for a while, is quite good and mature, but it misses support of backward conversion from JSON to AST. It tries to reinterpret some structures in AST to (I guess) simplify and make them more human-readable. My personal opinion - it is not good. But the main issue with it is lack of maintenance. It was developed a long time ago for version 1.16 and was not updated since then. However, you can find a fork of it relatively up to date.
What are some alternatives?
When comparing goast-viewer and goblin you can also consider the following projects:
gosimple
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
GoCover.io - GoCover.io offers the code coverage of any golang package as a service.
go2json - Golang transpiler: Go AST→JSON→Haxe→?
GoPlantUML - PlantUML Class Diagram Generator for golang projects
gcvis - Visualise Go program GC trace data in real time
apicompat - apicompat checks recent changes to a Go project for backwards incompatible changes
staticcheck
lint - Run linters from Go code -
errcheck - errcheck checks that you checked errors.
todocheck - A static code analyser for annotated TODO comments
GoLint - [mirror] This is a linter for Go source code. (deprecated)