mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-04 14:00:05 +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:
|
||
|
}
|
||
|
}
|