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

This page summarizes the projects mentioned and recommended in the original post on /r/golang

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • 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)

  • I believe I have mentioned structslop just the other day when I have mentioned betteralign. Both fieldalignment (and original maligned) and structslop are great, but there are some smallish details that could be improved upon such as atomic I/O when rewriting source files, ability to skip test and/or generated files or even skip specific specific structs; and automatic GOMAXPROCS and GOMEMLIMIT tuneup when running under containers (such as in some CI pipeline). In any case, if you find this tool something that works for you, I would also appreciate if you could take a look at betteralign.

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

    The Go programming language

  • Official fieldalignment in short erases all comments, due to AST shortcomings when it comes to handling comments. Structslop uses DST (decorated AST) to workaround this problem and has somewhat slightly different algorithm of generated indexes to sort structs.

  • goimports

    [mirror] Go Tools (by golang)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • betteralign - structs field alignment static analyzer for Go

    8 projects | /r/golang | 22 Mar 2023
  • Linter for explicit hint to interface which gets implemented.

    2 projects | /r/golang | 26 Jan 2023
  • Golang is evil on shitty networks

    1 project | news.ycombinator.com | 19 May 2024
  • Generic Concurrency in Go

    2 projects | dev.to | 17 May 2024
  • Creating a personal AI assistant a.k.a An approachable series on learning new stuff!

    1 project | dev.to | 10 May 2024