Site for Go tools crafters: combined documentation for go-toolsmith packages, external references and other useful resources.
There are two major project goals:
List of packages maintained under
Package astinfo records useful AST information like node parents and such.
Package astcopy implements Go AST deep copy operations.
Package astequal provides AST (deep) equallity check operations.
Package astfmt implements
ast.Node formatting with fmt-like API.
Package astp provides AST predicates.
Package astcast wraps type assertion operations in such way that you don’t have to worry about nil pointer results anymore.
Package strparse provides convenience wrappers around
go/parser for simple expr/stmt/decl parsing from string.
Package typep provides type predicates.
Projects that use
go-toolsmith and are willing to share that fact.