mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 15:50:04 +08:00
21 lines
190 B
Go
21 lines
190 B
Go
// issue #2166
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func test(ch byte) {
|
|
fmt.Println("hey!")
|
|
switch ch {
|
|
case 'l':
|
|
return
|
|
}
|
|
|
|
var i interface{}
|
|
switch i.(type) {
|
|
case int:
|
|
return
|
|
}
|
|
}
|