mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
- Initialize git repository - Add comprehensive .gitignore for Go projects - Install golangci-lint v2.6.0 (latest v2) globally - Configure .golangci.yml with appropriate linters and formatters - Fix all formatting issues (gofmt) - Fix all errcheck issues (unchecked errors) - Adjust complexity threshold for validation functions - All checks passing: build, test, vet, lint
15 lines
195 B
Go
15 lines
195 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/damirmukimov/city_resource_graph/models/cli"
|
|
)
|
|
|
|
func main() {
|
|
rootCmd := cli.NewRootCmd()
|
|
if err := rootCmd.Execute(); err != nil {
|
|
os.Exit(1)
|
|
}
|
|
}
|