Go clean-code

Open-source Go projects categorized as clean-code

Top 9 Go clean-code Projects

  1. editorconfig-checker

    A tool to verify that your files are in harmony with your .editorconfig

    Project mention: What's New in Emacs 30.1? | news.ycombinator.com | 2025-02-24

    A note on one of the change: "New package EditorConfig. This package provides support for the EditorConfig standard..."

    Honestly the only reason to use this, and don't get me wrong, it's a huge reason, is to ensure windows users don't add CRLFs in their commits, and mess up diffs. Set `end_of_line = lf` and you're done.

    `charset = utf-8` and `trim_trailing_whitespace = true` are also nice, but not as disruptive as `end_of_line`.

    The other (indentation related) functionality should honestly be handled by language specific linters instead, as they can be syntax aware and allow for better control. I always disable those in practice.

    This is the CLI tool to use during CI: https://github.com/editorconfig-checker/editorconfig-checker

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Hexagonal-Architecture

    a distributed messaging and payment backend built around the hexagonal architecture (by LordMoMA)

  4. Public-Library

    Clean Code & Hexagonal Architecture API in Go - a beginner-friendly example.

  5. phpstats

    CLI Statistics and dependency graphs for PHP

  6. aoc

    advent of code (by erik-adelbert)

  7. vertfn

    Go linter for Vertical Function Ordering

  8. go-commentage

    How far Go comments drifting behind?

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. toodaloo

    Say goodbye to your todos

    Project mention: Say Goodbye to Your Todos | news.ycombinator.com | 2024-06-05
  11. goclean

    Go + Clean Archtecture

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go clean-code discussion

Log in or Post with

Go clean-code related posts

  • REST API structure that can scale, your recommendations?

    2 projects | /r/golang | 7 Jun 2023
  • Beginner-friendly API made with Go following hexagonal architecture.

    5 projects | /r/golang | 21 May 2023
  • Project structure for a Chi API

    2 projects | /r/golang | 27 Apr 2023

Index

What are some of the best open-source clean-code projects in Go? This list will help you:

# Project Stars
1 editorconfig-checker 505
2 Hexagonal-Architecture 254
3 Public-Library 98
4 phpstats 70
5 aoc 35
6 vertfn 18
7 go-commentage 4
8 toodaloo 3
9 goclean 0

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai