superlint/test/linters/go/golang_bad_01.go

4 lines
62 B
Go
Raw Normal View History

2020-02-28 10:51:29 -05:00
if len(in) == 0 {
return "", fmt.Errorf("Input is empty")
}