Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Kim <[email protected]>
  • Loading branch information
joshua-kim committed Nov 17, 2023
1 parent f17bed6 commit a3fc8ed
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions version/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ var (
)

type Application struct {
Name string `json:"name" yaml:"name"`
Major int `json:"major" yaml:"major"`
Minor int `json:"minor" yaml:"minor"`
Patch int `json:"patch" yaml:"patch"`
Name string `json:"name" yaml:"name"`

Check failure on line 21 in version/application.go

View workflow job for this annotation

GitHub Actions / Static analysis

tag is not aligned , should be: json:"name" yaml:"name" (tagalign)
//TODO use uints

Check failure on line 22 in version/application.go

View workflow job for this annotation

GitHub Actions / Static analysis

commentFormatting: put a space between `//` and comment text (gocritic)
Major int `json:"major" yaml:"major"`
Minor int `json:"minor" yaml:"minor"`
Patch int `json:"patch" yaml:"patch"`

str atomic.Value
}
Expand Down

0 comments on commit a3fc8ed

Please sign in to comment.