dst

Decorated Syntax Tree - manipulate Go source with perfect fidelity. (by dave)

Dst Alternatives

Similar projects and alternatives to dst

  • go

    2,067 dst VS go

    The Go programming language

  • goimports

    [mirror] Go Tools (by golang)

  • 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.

    WorkOS logo
  • maligned

    Tool to detect Go structs that would take less memory if their fields were sorted.

  • structslop

    structslop is a static analyzer for Go that recommends struct field rearrangements to provide for maximum space/allocation efficiency.

  • betteralign

    Make your Go programs use less memory (maybe)

  • 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.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better dst alternative or higher similarity.

dst reviews and mentions

Posts with mentions or reviews of dst. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-22.
  • betteralign - structs field alignment static analyzer for Go
    8 projects | /r/golang | 22 Mar 2023
    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
    1 project | news.ycombinator.com | 3 Oct 2021
    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

Basic dst repo stats
2
1,213
0.0
6 months ago

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.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com