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
46 - go test ./... {{.CLI_ARGS}}
54 desc: Run with profiling enabled
61 desc: Install the application
68 - go tool pprof -http :6061 'http://localhost:6060/debug/pprof/profile?seconds=10'
73 - go tool pprof -http :6061 'http://localhost:6060/debug/pprof/heap'
76 desc: Allocations profile
78 - go tool pprof -http :6061 'http://localhost:6060/debug/pprof/allocs'
81 desc: Generate JSON schema for configuration
83 - go run main.go schema > schema.json
84 - 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