how to use switch in golang