summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-25 15:43:12 -0500
committerPietro Gagliardi <[email protected]>2014-02-25 15:43:12 -0500
commitcd73e42850e4477b3012febff19d04ce6bca7387 (patch)
tree7e01a62c9112ec8d50e1d57f86a1653db29db657 /button.go
parent8440c7a07823f8e405f03779b658f06808525081 (diff)
Documentation fixups.
Diffstat (limited to 'button.go')
-rw-r--r--button.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/button.go b/button.go
index e303ef4..cd0d70b 100644
--- a/button.go
+++ b/button.go
@@ -7,7 +7,8 @@ import (
// A Button represents a clickable button with some text.
type Button struct {
- // This channel gets a message when the button is clicked. Unlike other channels in this package, this channel is initialized to non-nil when creating a new button, and cannot be set to nil later.
+ // This channel gets a message when the button is clicked.
+ // Unlike other channels in this package, this channel is initialized to non-nil when creating a new button, and cannot be set to nil later.
Clicked chan struct{}
lock sync.Mutex