• Rob Pike's avatar
    test/chan/select5.go: change "with" to "if" in templatea · 3f5edd24
    Rob Pike authored
    I converted this program yesterday and the output is the
    same as it used to be, ignoring space, but the result is
    not the best expression of the algorithm.  The old {.section
    Maybe} pieces are now {{with .Maybe}}, as a direct translation,
    but I they should be {{if .Maybe}} as the output is just a
    bool and there is no cascading.
    
    I have verified that the output of the program is unaffected.
    
    R=golang-dev, dsymonds
    CC=golang-dev
    https://golang.org/cl/4889053
    3f5edd24
Name
Last commit
Last update
..
doubleselect.go Loading commit data...
fifo.go Loading commit data...
goroutines.go Loading commit data...
nonblock.go Loading commit data...
perm.go Loading commit data...
powser1.go Loading commit data...
powser2.go Loading commit data...
select.go Loading commit data...
select2.go Loading commit data...
select3.go Loading commit data...
select4.go Loading commit data...
select5.go Loading commit data...
select6.go Loading commit data...
sendstmt.go Loading commit data...
sieve1.go Loading commit data...
sieve2.go Loading commit data...
zerosize.go Loading commit data...