Gofumpt: It's like gofmt except more strict

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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

    A stricter gofmt

  • In the roadmap section[1] the author says it's more of an experiment with a possibility that some of the rules might end up in the original 'gofmt' tool. While I agree that Go having a de facto formatter built in is wonderful, there are some absolutely fantastic additions in 'gofumpt' that I do hope wind up in 'gofmt'

    ---

    [1]: https://github.com/mvdan/gofumpt#roadmap

  • pre-commit-golang

    Pre-commit hooks for Golang with support for monorepos, the ability to pass arguments and environment variables to all hooks, and the ability to invoke custom go tools.

  • For those who may be interested, my go pre-commit hooks package has built-in support for gofumpt (along with a bunch if other linters):

    https://github.com/TekWizely/pre-commit-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.

    InfluxDB logo
  • sh

    A shell parser, formatter, and interpreter with bash support; includes shfmt (by mvdan)

  • My bad, I completely screwed this up... the as of yet undiscussed project is:

    https://github.com/mvdan/sh

    (not shmfmt)

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

  • Wildcard pattern matching. Review and feedback are MOSTLY welcome and appreciate 🥰

    1 project | /r/golang | 11 May 2023
  • Ask HN: What software sparks joy when using?

    10 projects | news.ycombinator.com | 17 Apr 2024
  • New to go, suggestions for non-web projects.

    5 projects | /r/golang | 30 Jun 2023
  • I have this code On Playground.. It is very simplified... but when reading from file it breaks and cannot handle rune characters.... The strings.Replace function just stops working

    1 project | /r/golang | 23 Feb 2023
  • Shfmt – format shell programs

    1 project | /r/hypeurls | 11 Feb 2023