diff options
| author | faiface <faiface2202@gmail.com> | 2019-05-09 22:11:09 +0200 |
|---|---|---|
| committer | faiface <faiface2202@gmail.com> | 2019-05-09 22:11:09 +0200 |
| commit | 888220ffa123ff460a22bac3edd790ee429fd845 (patch) | |
| tree | 0f7d5997e8b7c828791f7e24e2f46e1c11e9a761 | |
| parent | 46e3ce538444581a758e651854038603090fe272 (diff) | |
| download | gui-888220ffa123ff460a22bac3edd790ee429fd845.zip | |
README: fix word
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ type Event interface { This purpose of this interface is to hold different kinds of events and be able to discriminate among them using a type switch. -Examples of concrete `Event` types strings are: [`gui.Resize`](https://godoc.org/github.com/faiface/gui#Resize), [`win.WiClose`](https://godoc.org/github.com/faiface/gui/win#WiClose), [`win.MoDown`](https://godoc.org/github.com/faiface/gui/win#MoDown), [`win.KbType`](https://godoc.org/github.com/faiface/gui/win#KbType) (where `Wi`, `Mo`, and `Kb` stand for _window_, _mouse_, and _keyboard_, respectively). When we have an `Event`, we can type switch on it like this: +Examples of concrete `Event` types are: [`gui.Resize`](https://godoc.org/github.com/faiface/gui#Resize), [`win.WiClose`](https://godoc.org/github.com/faiface/gui/win#WiClose), [`win.MoDown`](https://godoc.org/github.com/faiface/gui/win#MoDown), [`win.KbType`](https://godoc.org/github.com/faiface/gui/win#KbType) (where `Wi`, `Mo`, and `Kb` stand for _window_, _mouse_, and _keyboard_, respectively). When we have an `Event`, we can type switch on it like this: ```go switch event := event.(type) { |