examples/noise/main.go
Function main
has 72 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func main() {
// Removing noisy logs
lvl, err := logging.LevelFromString("error")
if err != nil {
panic(err)
Function main
has 6 return statements (exceeds 4 allowed). Open
Open
func main() {
// Removing noisy logs
lvl, err := logging.LevelFromString("error")
if err != nil {
panic(err)