Skip to content

Commit

Permalink
Merge pull request #993 from ydb-platform/tagalign
Browse files Browse the repository at this point in the history
tagalign enabled
  • Loading branch information
asmyasnikov authored Dec 31, 2023
2 parents d5cf83e + ff48cbe commit 0f5dc78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ linters:
- protogetter
- scopelint
- structcheck
- tagalign
- tagliatelle
- testableexamples
- testifylint
Expand Down
10 changes: 5 additions & 5 deletions tests/slo/internal/generator/row.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 0f5dc78

Please sign in to comment.