|
|
|
|
|
by codo2
3988 days ago
|
|
It's not a critique but a suggestion. Like you are saying, it is not an error, my suggestion is simply to follow the standard library. From golang.org Effective Go: "In the Go libraries, you'll find that when an if statement doesn't flow into the next statement—that is, the body ends in break, continue, goto, or return—the unnecessary else is omitted." |
|