io/input,io/router: [API] rename package io/router to io/input

The input name better matches its purpose, in particular when we
introduce input.Source.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2023-10-08 17:45:39 -05:00
parent 99399184ac
commit d5a0d2cf60
19 changed files with 74 additions and 72 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"testing"
"gioui.org/app"
"gioui.org/io/input"
"gioui.org/io/key"
"gioui.org/io/router"
"gioui.org/layout"
"gioui.org/op"
"gioui.org/widget"
@@ -17,7 +17,7 @@ import (
func TestClickable(t *testing.T) {
var (
ops op.Ops
r router.Router
r input.Router
b1 widget.Clickable
b2 widget.Clickable
)