Can you share some Go package that you think has high quality clean code?

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • kubectx

    Faster way to switch between clusters and namespaces in kubectl

    Looks like the abstraction this package is using for command line handlers. If you look in the other files, each one is concerned with a single operation. Those operations all conform to this interface. parseArgs reads the command line arguments and picks the appropriate operation to run. As to why it’s in main.go, why not?

  • go

    The Go programming language

    As an example, take a look at copyBuffer, which is the actual implementation of io.Copy.

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

  • go-ethereum

    Official Go implementation of the Ethereum protocol

  • urlredir

    Educational URL redirector service in Go

    I tried to write simple educational code: https://github.com/ptman/urlredir

  • flux2

    Open and extensible continuous delivery solution for Kubernetes. Powered by GitOps Toolkit.

    I really like the FluxCD projects: https://github.com/fluxcd/flux2

  • groupcache

    groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.

  • linkchecker

    Recursively crawls a website and checks that URLs return 200. (by ardanlabs)

    For example, this function: https://github.com/ardanlabs/linkchecker/blob/master/cmd/linkchecker/linkchecker.go#L40

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

  • exposure-notifications-server

    Discontinued Exposure Notification Reference Server | Covid-19 Exposure Notifications

  • heimdall

    An enhanced HTTP client for Go (by gojek)

    Heimdall HTTP Client

  • mab

    Library for multi-armed bandit selection strategies, including efficient deterministic implementations of Thompson sampling and epsilon-greedy.

    MAB library for Multi-Armed Bandits

  • nq

    nanoQ — high-performance brokerless Pub/Sub for streaming real-time data (by aigent)

    I’m a proud author of this one https://github.com/aigent/nq

  • drone

    Discontinued Gitness is an Open Source developer platform with Source Control management, Continuous Integration and Continuous Delivery. [Moved to: https://github.com/harness/gitness]

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