#1152603 ITP: exhaustive -- Check that expression switches and type switches in Go source code are exhaustive.

#1152603#5
Date:
2026-10-30 13:12:14 UTC
From:
To:
* Package name    : exhaustive
  Version         : 0.16.1-1
  Upstream Author : Nishanth Shanmugham
* URL             : https://github.com/nishanths/exhaustive
* License         : BSD-2-Clause and BSD-3-Clause
  Programming Lang: Go
  Description     : Check that expression switches and type switches in Go source code are exhaustive.

 Package exhaustive checks that expression switches and type switches in Go source code are exhaustive.
 .
 The exhaustive static analysis checks that switch statements in Go
 source code are exhaustive. The analysis can check expression switches,
 if the switch expression type is an enumerated type, and type switches.

This package is a dependency of opentofu (ITP #808940).
I will maintain it in the Debian Go Packaging Team.