mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-04 15:00:05 +08:00
23 lines
236 B
Go
23 lines
236 B
Go
|
package main
|
||
|
|
||
|
func correct(word string) {
|
||
|
switch word {
|
||
|
|
||
|
} // <---
|
||
|
select {
|
||
|
|
||
|
} // <---
|
||
|
}
|
||
|
|
||
|
func test() {
|
||
|
cases := []struct {
|
||
|
first, second string
|
||
|
} {
|
||
|
{"Hello", "World"},
|
||
|
}
|
||
|
|
||
|
for range cases {
|
||
|
println("random stuff")
|
||
|
}
|
||
|
}
|