a go linter to check switch statements for default

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

    a go linter to check switch statements for default

  • go-hasdefer

    a go linter to check goroutines for defer

  • the multi-line string thing i ran into immediately with go-hasdefer. i've updated go-hasdefault to do the same thing.

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

    A simple utility for running exhaustiveness checks on Go "sum types."

  • https://github.com/BurntSushi/go-sumtype forces exhaustive type switches for interfaces specifically annotated to need that.

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