const go/token.CHAN
9 uses
go/token (current package)
token.go#L100: CHAN
token.go#L201: CHAN: "chan",
go/parser
parser.go#L1014: if p.tok == token.CHAN {
parser.go#L1023: p.expect(token.CHAN)
parser.go#L1049: case token.CHAN, token.ARROW:
parser.go#L2227: token.LBRACK, token.STRUCT, token.MAP, token.CHAN, token.INTERFACE, // composite types
go/printer
nodes.go#L963: p.print(token.CHAN)
nodes.go#L965: p.print(token.ARROW, token.CHAN) // x.Arrow and x.Pos() are the same
nodes.go#L967: p.print(token.CHAN, x.Arrow, token.ARROW)
 |
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. |