mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 22:00:07 +08:00
17 lines
177 B
Go
17 lines
177 B
Go
// issue #4248
|
|
package main
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
)
|
|
|
|
func test(ch byte) {
|
|
ctx := context.TODO()
|
|
select {
|
|
case <-ctx.Done():
|
|
fmt.Println("indentation")
|
|
default:
|
|
}
|
|
}
|