Dst Alternatives
Similar projects and alternatives to dst
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
structslop
structslop is a static analyzer for Go that recommends struct field rearrangements to provide for maximum space/allocation efficiency.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
dst reviews and mentions
-
betteralign - structs field alignment static analyzer for Go
Retaining comments has been done with using DST (Decorated Syntax Tree) with decorating regular AST. Sadly when using DST we cannot use "fix" mode with SuggestedFixes, but we have to print whole DST to retain decorations. Leading/ending comment positioning isn't well retained in some cases and it's still a work in progress.
-
Rewriting Go source code with AST tooling
Go AST was never really designed for re-writing of the source. Comments are stored by their byte offset instead of attached to nodes, so re-arranging nodes breaks the output...
Check out my dst (decorated syntax tree) library: it allows you to manipulate Go source without breaking the comments and line-feeds:
https://github.com/dave/dst
Stats
dave/dst is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.
The primary programming language of dst is Go.
Popular Comparisons
Sponsored