Some code improvements (#1909)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* strings.ToLower comparison changed to strings.EqualFold. * Rewrite switch statement with only one case as if.
authored by Kirill Motkov · committed by 田欧 · parent 8ee9d95 · Browse files · 3 files+4 added−6 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+4 added−6 removed
- other:+4 added−6 removed