https://github.com/wayneashleyberry/dontpanic
dontpanic is a go linter that warns against calls to panic() in your code
https://github.com/wayneashleyberry/dontpanic
go golang linter panic
Last synced: 22 days ago
JSON representation
dontpanic is a go linter that warns against calls to panic() in your code
- Host: GitHub
- URL: https://github.com/wayneashleyberry/dontpanic
- Owner: wayneashleyberry
- License: mit
- Created: 2019-07-10T10:08:06.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2021-10-26T08:42:09.000Z (over 4 years ago)
- Last Synced: 2025-08-14T13:38:17.194Z (7 months ago)
- Topics: go, golang, linter, panic
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[_Don't panic™_](https://github.com/golang/go/wiki/CodeReviewComments#dont-panic)
---
[](https://travis-ci.org/wayneashleyberry/dontpanic)
[](https://goreportcard.com/report/github.com/wayneashleyberry/dontpanic)
```
go get github.com/wayneashleyberry/dontpanic
```
```
dontpanic: don't allow panic() in your go code
Usage: dontpanic [-flag] [package]
Flags: -V print version and exit
-all
no effect (deprecated)
-c int
display offending line with this many lines of context (default -1)
-cpuprofile string
write CPU profile to this file
-debug string
debug flags, any subset of "fpstv"
-flags
print analyzer flags in JSON
-json
emit JSON output
-memprofile string
write memory profile to this file
-source
no effect (deprecated)
-tags string
no effect (deprecated)
-trace string
write trace log to this file
-v no effect (deprecated)
```