diff --git a/.golangci.yml b/.golangci.yml index 41aa3808d..fa0a365ed 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -247,7 +247,6 @@ linters: - protogetter - scopelint - structcheck - - tagalign - tagliatelle - testableexamples - testifylint diff --git a/tests/slo/internal/generator/row.go b/tests/slo/internal/generator/row.go index bb8c58adc..7a2d6aa2b 100644 --- a/tests/slo/internal/generator/row.go +++ b/tests/slo/internal/generator/row.go @@ -6,9 +6,9 @@ type RowID = uint64 type Row struct { Hash uint64 `gorm:"column:hash;primarykey;autoIncrement:false" xorm:"pk 'hash'"` - ID RowID `gorm:"column:id;primarykey;autoIncrement:false" xorm:"pk 'id'"` - PayloadStr *string `gorm:"column:payload_str" xorm:"'payload_str'"` - PayloadDouble *float64 `gorm:"column:payload_double" xorm:"'payload_double'"` - PayloadTimestamp *time.Time `gorm:"column:payload_timestamp" xorm:"'payload_timestamp'"` - PayloadHash uint64 `gorm:"column:payload_hash" xorm:"'payload_hash'"` + ID RowID `gorm:"column:id;primarykey;autoIncrement:false" xorm:"pk 'id'"` //nolint:tagalign + PayloadStr *string `gorm:"column:payload_str" xorm:"'payload_str'"` //nolint:tagalign + PayloadDouble *float64 `gorm:"column:payload_double" xorm:"'payload_double'"` //nolint:tagalign + PayloadTimestamp *time.Time `gorm:"column:payload_timestamp" xorm:"'payload_timestamp'"` //nolint:tagalign + PayloadHash uint64 `gorm:"column:payload_hash" xorm:"'payload_hash'"` //nolint:tagalign }