mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 21:38:05 -05:00
* Implement static analysis to prevent panics * Add nopanic to nogo * Fix violations and add exclusions Fix violations and add exclusions for all * Changelog fragment * Use pass.Report instead of pass.Reportf * Remove strings.ToLower for checking init method name * Add exclusion for herumi init * Move api/client/beacon template function to init and its own file * Fix nopanic testcase
9 lines
150 B
Go
9 lines
150 B
Go
// package testdata
|
|
//
|
|
// lint:nopanic -- This package is so safe that you can trust it...
|
|
package testdata
|
|
|
|
func dive() {
|
|
panic("BELLY FLOP!!!!")
|
|
}
|