go/ast.ChanType.Dir (field)

9 uses

	go/ast (current package)
		ast.go#L475: 		Dir   ChanDir   // channel direction

	go/parser
		parser.go#L1218: 	return &ast.ChanType{Begin: pos, Arrow: arrow, Dir: dir, Value: value}
		parser.go#L1766: 				if typ.Dir == ast.RECV {
		parser.go#L1771: 				dir, typ.Dir = typ.Dir, ast.RECV

	go/printer
		nodes.go#L1022: 		switch x.Dir {

	go/types
		exprstring.go#L155: 		switch x.Dir {
		typexpr.go#L368: 		switch e.Dir {
		typexpr.go#L376: 			check.invalidAST(e, "unknown channel direction %d", e.Dir)