io: give event packages a common prefix

Packages that provide support for external events such as pointer, key and
system are only the beginning. Future packages are expected for clipboard
access, drag and drop, gps positions and so on.

To keep the number of top-level packages under control, move such I/O packages
to the new `io` directory.

The `system` package name was the previous solution to keeping the number of
top-level packages under control: I named it `system` instead of the narrower
`profile` because I expected to put all the less common events into it, turning
`system` into a "package util" smell.

With `io`, package system can be renamed to `profile`.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-09-30 14:50:03 +02:00
parent a175f38d19
commit 7a259e68f7
20 changed files with 68 additions and 68 deletions
+2 -2
View File
@@ -12,10 +12,10 @@ package gesture
import (
"math"
"gioui.org/ui"
"gioui.org/f32"
"gioui.org/internal/fling"
"gioui.org/pointer"
"gioui.org/io/pointer"
"gioui.org/ui"
)
// Click detects click gestures in the form