Refined a TODO.
This commit is contained in:
parent
c07a902935
commit
9b35def046
|
@ -65,7 +65,8 @@ type event struct {
|
||||||
lock sync.Mutex
|
lock sync.Mutex
|
||||||
}
|
}
|
||||||
|
|
||||||
// do should never be nil; TODO should we make setters panic instead?
|
// do should never be nil
|
||||||
|
// TODO when writing doc.go, document that setting nil to an event handler ignores the event; if it returns a boolean value, false is returned
|
||||||
|
|
||||||
func newEvent() *event {
|
func newEvent() *event {
|
||||||
return &event{
|
return &event{
|
||||||
|
|
Loading…
Reference in New Issue