cmd/gogio,ui: fixups after gioui.org module rename

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-09-30 13:04:10 +02:00
parent 049c0b4dcd
commit 3c65aa61f6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ func mainErr() error {
}
if appArgs := flag.Args()[1:]; len(appArgs) > 0 {
// Pass along arguments to the app.
bi.ldflags = fmt.Sprintf("-X gioui.org/ui/app.extraArgs=%s", strings.Join(appArgs, "|"))
bi.ldflags = fmt.Sprintf("-X gioui.org/app.extraArgs=%s", strings.Join(appArgs, "|"))
}
if err := build(bi); err != nil {
return err
+1 -1
View File
@@ -101,7 +101,7 @@ the means for declaring handlers for specific event types.
The following example declares a handler ready for key input:
import gioui.org/ui/key
import gioui.org/key
ops := new(ui.Ops)
var h *Handler = ...