reflect.chanType.dir (field)
8 uses
reflect (current package)
type.go#L362: dir uintptr // channel direction (ChanDir)
type.go#L886: return ChanDir(tt.dir)
type.go#L1816: if ch.elem == typ && ch.dir == uintptr(dir) {
type.go#L1827: ch.dir = uintptr(dir)
value.go#L1507: if ChanDir(tt.dir)&RecvDir == 0 {
value.go#L1540: if ChanDir(tt.dir)&SendDir == 0 {
value.go#L2227: if ChanDir(tt.dir)&SendDir == 0 {
value.go#L2255: if ChanDir(tt.dir)&RecvDir == 0 {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |