Add comment to NewConfig explaining the limit parameter

This commit is contained in:
2026-03-15 15:35:19 +05:00
parent ae2bcc6ddf
commit 16f233197d

View File

@@ -35,6 +35,7 @@ type Config struct {
}
// NewConfig creates a new Config with default values.
// limit is the maximum number of items to process or validate. 0 means no limit.
func NewConfig(limit uint) Config {
return Config{
Limit: limit,