diff --git a/example/gophers/main.go b/example/gophers/main.go index bdf18679..bc134cd6 100644 --- a/example/gophers/main.go +++ b/example/gophers/main.go @@ -15,11 +15,6 @@ import ( "golang.org/x/oauth2" - _ "image/jpeg" - _ "image/png" - - _ "net/http/pprof" - "gioui.org/app" "gioui.org/gesture" "gioui.org/io/key" @@ -29,6 +24,13 @@ import ( "gioui.org/unit" "github.com/google/go-github/v24/github" + + _ "image/jpeg" + _ "image/png" + + _ "net/http/pprof" + + _ "gioui.org/font/gofont" ) type App struct { diff --git a/example/gophers/ui.go b/example/gophers/ui.go index b13928fc..d7d04da8 100644 --- a/example/gophers/ui.go +++ b/example/gophers/ui.go @@ -11,13 +11,7 @@ import ( "log" "runtime" - _ "image/jpeg" - _ "image/png" - - _ "net/http/pprof" - "gioui.org/f32" - _ "gioui.org/font/gofont" "gioui.org/gesture" "gioui.org/io/key" "gioui.org/io/pointer" diff --git a/example/hello/hello.go b/example/hello/hello.go index c5d47cbf..2f85cb18 100644 --- a/example/hello/hello.go +++ b/example/hello/hello.go @@ -10,10 +10,11 @@ import ( "gioui.org/app" "gioui.org/io/system" - _ "gioui.org/font/gofont" "gioui.org/layout" "gioui.org/text" "gioui.org/widget/material" + + _ "gioui.org/font/gofont" ) func main() { diff --git a/example/kitchen/kitchen.go b/example/kitchen/kitchen.go index d49b4adf..c5f2cfca 100644 --- a/example/kitchen/kitchen.go +++ b/example/kitchen/kitchen.go @@ -9,15 +9,16 @@ import ( "log" "gioui.org/app" + "gioui.org/io/system" "gioui.org/layout" "gioui.org/text" "gioui.org/unit" - "gioui.org/io/system" "gioui.org/widget" "gioui.org/widget/material" - _ "gioui.org/font/gofont" "golang.org/x/exp/shiny/materialdesign/icons" + + _ "gioui.org/font/gofont" ) func main() {