max-public-structs
Default severity: note
Limit exported structs per file.
type Request struct{}type Response struct{}type Client struct{}type Server struct{}type Options struct{}type Result struct{}type Request struct{}type Response struct{}Configuration
Section titled “Configuration”The default maximum is five exported structs per file.
[checks.rules.max-public-structs]max-public-structs = 8Set max-public-structs = 0 to use the built-in maximum of five.