7 GOEXPERIMENT: greenteagc
11 desc: Install golangci-lint
13 - go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
18 desc: Run base linters
20 - golangci-lint run --path-mode=abs --config=".golangci.yml" --timeout=5m
25 desc: Run base linters and fix issues
27 - golangci-lint run --path-mode=abs --config=".golangci.yml" --timeout=5m --fix
41 - go test ./... {{.CLI_ARGS}}
49 desc: Run with profiling enabled
56 desc: Install the application
63 - go tool pprof -http :6061 'http://localhost:6060/debug/pprof/profile?seconds=10'
68 - go tool pprof -http :6061 'http://localhost:6060/debug/pprof/heap'
71 desc: Allocations profile
73 - go tool pprof -http :6061 'http://localhost:6060/debug/pprof/allocs'
76 desc: Generate JSON schema for configuration
78 - go run main.go schema > schema.json
79 - echo "Generated schema.json"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list