Commit Graph
1 Commits
Author SHA1 Message Date
Iskander (Alex) Sharipov 5b83c895a7 use type switch instead of if/else
This reduces the syntax noise of the code by
removing excessive type assertions.

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
2019-01-29 22:51:02 +03:00