• Robert Griesemer's avatar
    spec: several clarifications to language on channels · 97aa90d2
    Robert Griesemer authored
    - A channel may be used between any number of goroutines,
      not just two.
    - Replace "passing a value" (which is not further defined)
      by "sending and receiving a value".
    - Made syntax production more symmetric.
    - Talk about unbuffered channels before buffered channels.
    - Clarify what the comma,ok receive values mean (issue 7785).
    
    Not a language change.
    
    Fixes #7785.
    
    LGTM=rsc, r, iant
    R=r, rsc, iant, ken
    CC=golang-codereviews
    https://golang.org/cl/94030045
    97aa90d2
go_spec.html 184 KB