multi: skip checking long lines for config files

This commit is contained in:
yyforyongyu committed 2022-10-20 23:59:09 +08:00
1 parent 3e593be053
commit 4db6617d45
25 files changed
+48

No files matched your search

+2
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."`