Registry /
utility / gaijinentertainment-go-exhaustruct-v2
Package exhaustruct is a linter that checks if all struct fields are initialized.
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
github.com/GaijinEntertainment/go-exhaustruct/v2
Run the exhaustruct linter
package main
import (
"github.com/GaijinEntertainment/go-exhaustruct/v2/analyzer"
"golang.org/x/tools/go/analysis/singlechecker"
)
func main() {
singlechecker.Main(analyzer.NewAnalyzer())
}
Debug
Known footguns
No known footguns recorded.
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.