Closed sosiska closed 5 years ago
This commit rewrites if-else-if-else chain as a switch. Based on Go style guide: https://golang.org/doc/effective_go.html#switch
Coverage remained the same at 100.0% when pulling cfaa495a0b54135af6677f8a396c39aac6fea20a on sosiska:patch-1 into 5362c131d56305ce787e79a5b94ffc956df00d62 on disintegration:master.
LGTM. Thank you for the contribution!
This commit rewrites if-else-if-else chain as a switch. Based on Go style guide: https://golang.org/doc/effective_go.html#switch