Bio-OS / bioos

Apache License 2.0
58 stars 16 forks source link

Add lint for checking golang coding style #41

Open fuxiaoyi opened 11 months ago

fuxiaoyi commented 11 months ago

Is your feature request related to a problem? Please describe. For continuous integration, a Golang lint script is proposed which checks the coding style for all the Go language files.

Describe the solution you'd like The script file should be configured to decide which set of checks should be enabled depending on a set of command line flags. A default set of checks should guarantee that all existing code passes without issues.

Describe alternatives you've considered None.

Additional context This lint script looks good to me.

yuanminhui commented 11 months ago

Maybe they have linters (golangci-lint) already?