mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-10-07 14:06:25 +00:00

From effective Go: https://golang.org/doc/effective_go.html#switch > It's therefore possible—and idiomatic—to write an if-else-if-else chain as a switch.