multi: skip checking long lines for config files

This commit is contained in:
yyforyongyu
2022-10-20 16:48:19 +08:00
parent 3e593be053
commit 4db6617d45
25 changed files with 48 additions and 0 deletions

View File

@ -3,6 +3,8 @@ package postgres
import "time"
// Config holds postgres configuration data.
//
// nolint:lll
type Config struct {
Dsn string `long:"dsn" description:"Database connection string."`
Timeout time.Duration `long:"timeout" description:"Database connection timeout. Set to zero to disable."`