Skip to content

Commit 3f7f6c1

Browse files
committed
Update .gitignore and main.go to add dist/ directory and improve code formatting
1 parent 2ba6b25 commit 3f7f6c1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ go.work
1515
coverage.out
1616

1717
bin/
18+
dist/

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var version string
1616

1717
func main() {
1818
cfg := &config.Config{}
19-
err := cfg.Load() //nolint:errcheck
19+
err := cfg.Load()
2020
if err != nil {
2121
end(err)
2222
}
@@ -28,7 +28,7 @@ func main() {
2828
end(err)
2929
}
3030
} else if os.Args[1] == "version" {
31-
fmt.Printf("kemit version: %s", version)
31+
fmt.Println("kemit version: " + version)
3232
}
3333
} else {
3434
err = cfg.Validate()

0 commit comments

Comments
 (0)