Add version flag.
It is handy to have only the version with revision printed out.
Also useful for omnibus-gitlab#1213 (closed)
Merge request reports
Activity
Added 1 commit:
- 5718c3d0 - Go fmt.
mentioned in merge request omnibus-gitlab!720 (merged)
Nice :) Yay! @marin is writing in Go!
Could you also reduce the cyclomatic complexity of main function? Adding if makes it go over 9 :)
10 main appMain main.go:17:1
Added 1 commit:
- 7916df94 - Reduce complexity.
@ayufan Will this work?
@marin not sure, right now formatting is broken :(
@ayufan Uh oh :/
go fmt
is not showing anything and the formatting looks good in my editor :/ I guess I will raise an issue about it.Added 1 commit:
- c76f6213 - Fix go vet
@marin Sorry, it was problem with go vet. Fixed and merged.
mentioned in commit cdc785b6
mentioned in commit omnibus-gitlab@922f7655