Skip to content

Commit

Permalink
refactor:linter-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AKKatung159 committed Dec 26, 2023
1 parent 3f04fa3 commit e3d9c6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/auth/auth.model.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ type DesiredRound struct {
}

type department struct {
Code string `gorm:"primaryKey" json:"code"`
Name string `json:"name"`
Code string `gorm:"primaryKey" json:"code"`

Check failure on line 48 in internal/auth/auth.model.go

View workflow job for this annotation

GitHub Actions / lint

tag is not aligned, should be: gorm:"primaryKey" json:"code" (tagalign)
Name string `json:"name"`
}

type section struct {
Code string `gorm:"primaryKey" json:"code"`
Name string `json:"name"`
Code string `gorm:"primaryKey" json:"code"`

Check failure on line 53 in internal/auth/auth.model.go

View workflow job for this annotation

GitHub Actions / lint

tag is not aligned, should be: gorm:"primaryKey" json:"code" (tagalign)
Name string `json:"name"`
}

type round struct {
Expand Down

0 comments on commit e3d9c6f

Please sign in to comment.