Gofumpt: It's like gofmt except more strict

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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

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