Gofumpt: It's like gofmt except more strict

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

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

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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

  • 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

  • Htmd: A turndown.js inspired HTML-to-Markdown converter for Rust

    4 projects | news.ycombinator.com | 16 Jun 2024
  • Wildcard pattern matching. Review and feedback are MOSTLY welcome and appreciate 🥰

    1 project | /r/golang | 11 May 2023
  • Create a Hugo Theme from Scratch - III

    3 projects | dev.to | 15 Oct 2024
  • 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