Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
package main import ("fmt") func main() { a := 3 switch a { case 1: fmt.Println("a is one") case "b": fmt.Println("a is b") } }
./prog.go:11:2: cannot use "b" (type untyped string) as type int