Update the GO tutorials with PublishWithContext instead of Publish
Publish is deprecated.
As context, I used: `context.WithTimeout(context.Background(), 5*time.Second)`
update the Golang Version to 1.7
Signed-off-by: Gabriele Santomaggio G.santomaggio@gmail.com
The current idiom
forever := make(chan bool)
gives the impression that booleans will be sent through `forever`. But
the channel never has anything sent through it; its purpose is just to
block indefinitely.
Go doesn't have any bottom type (empty type; ⊥), but it does have a unit
type, namely `struct{}`. Because not even such values will be sent, the
channel need not even exist at all, leaving no doubts as to its purpose.