1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-04 14:00:05 +08:00
SpaceVim/bundle/nvim-treesitter/tests/indent/go/select.go

17 lines
177 B
Go
Raw Normal View History

// issue #4248
package main
import (
"context"
"fmt"
)
func test(ch byte) {
ctx := context.TODO()
select {
case <-ctx.Done():
fmt.Println("indentation")
default:
}
}