forked from joejulian/gio
all: run goimports
gioui.org/ui was renamed from gioui.org/ui/ui before the release, but the import order wasn't changed accordingly. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -10,11 +10,11 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/app/internal/gl"
|
||||
gdraw "gioui.org/ui/draw"
|
||||
"gioui.org/ui/f32"
|
||||
"gioui.org/ui/internal/path"
|
||||
"gioui.org/ui"
|
||||
"golang.org/x/image/draw"
|
||||
)
|
||||
|
||||
|
||||
@@ -24,10 +24,10 @@ import (
|
||||
"time"
|
||||
"unsafe"
|
||||
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/f32"
|
||||
"gioui.org/ui/key"
|
||||
"gioui.org/ui/pointer"
|
||||
"gioui.org/ui"
|
||||
)
|
||||
|
||||
type window struct {
|
||||
|
||||
@@ -19,10 +19,10 @@ import (
|
||||
"unicode/utf8"
|
||||
"unsafe"
|
||||
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/f32"
|
||||
"gioui.org/ui/key"
|
||||
"gioui.org/ui/pointer"
|
||||
"gioui.org/ui"
|
||||
syscall "golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
|
||||
+1
-1
@@ -9,10 +9,10 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/app/internal/gpu"
|
||||
"gioui.org/ui/key"
|
||||
"gioui.org/ui/pointer"
|
||||
"gioui.org/ui"
|
||||
)
|
||||
|
||||
type WindowOptions struct {
|
||||
|
||||
+1
-1
@@ -6,9 +6,9 @@ import (
|
||||
"image"
|
||||
"math"
|
||||
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/f32"
|
||||
"gioui.org/ui/internal/path"
|
||||
"gioui.org/ui"
|
||||
)
|
||||
|
||||
type OpImage struct {
|
||||
|
||||
+1
-1
@@ -5,9 +5,9 @@ package draw
|
||||
import (
|
||||
"math"
|
||||
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/f32"
|
||||
"gioui.org/ui/internal/path"
|
||||
"gioui.org/ui"
|
||||
)
|
||||
|
||||
type OpClip struct {
|
||||
|
||||
@@ -8,9 +8,9 @@ import (
|
||||
"runtime"
|
||||
"time"
|
||||
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/f32"
|
||||
"gioui.org/ui/pointer"
|
||||
"gioui.org/ui"
|
||||
)
|
||||
|
||||
type ClickEvent struct {
|
||||
|
||||
+1
-1
@@ -5,8 +5,8 @@ package layout
|
||||
import (
|
||||
"image"
|
||||
|
||||
"gioui.org/ui/f32"
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/f32"
|
||||
)
|
||||
|
||||
type Flex struct {
|
||||
|
||||
+1
-1
@@ -5,10 +5,10 @@ package layout
|
||||
import (
|
||||
"image"
|
||||
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/draw"
|
||||
"gioui.org/ui/gesture"
|
||||
"gioui.org/ui/pointer"
|
||||
"gioui.org/ui"
|
||||
)
|
||||
|
||||
type scrollChild struct {
|
||||
|
||||
@@ -7,10 +7,10 @@ import (
|
||||
"unicode"
|
||||
"unicode/utf8"
|
||||
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/draw"
|
||||
"gioui.org/ui/f32"
|
||||
"gioui.org/ui/text"
|
||||
"gioui.org/ui"
|
||||
"golang.org/x/image/font"
|
||||
"golang.org/x/image/font/sfnt"
|
||||
"golang.org/x/image/math/fixed"
|
||||
|
||||
+1
-1
@@ -3,8 +3,8 @@
|
||||
package pointer
|
||||
|
||||
import (
|
||||
"gioui.org/ui/f32"
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/f32"
|
||||
)
|
||||
|
||||
type Queue struct {
|
||||
|
||||
+1
-1
@@ -8,13 +8,13 @@ import (
|
||||
"time"
|
||||
"unicode/utf8"
|
||||
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/draw"
|
||||
"gioui.org/ui/f32"
|
||||
"gioui.org/ui/gesture"
|
||||
"gioui.org/ui/key"
|
||||
"gioui.org/ui/layout"
|
||||
"gioui.org/ui/pointer"
|
||||
"gioui.org/ui"
|
||||
|
||||
"golang.org/x/image/math/fixed"
|
||||
)
|
||||
|
||||
+1
-1
@@ -7,10 +7,10 @@ import (
|
||||
"math"
|
||||
"unicode/utf8"
|
||||
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/draw"
|
||||
"gioui.org/ui/f32"
|
||||
"gioui.org/ui/layout"
|
||||
"gioui.org/ui"
|
||||
|
||||
"golang.org/x/image/math/fixed"
|
||||
)
|
||||
|
||||
+1
-1
@@ -5,10 +5,10 @@ package widget
|
||||
import (
|
||||
"image"
|
||||
|
||||
"gioui.org/ui"
|
||||
"gioui.org/ui/draw"
|
||||
"gioui.org/ui/f32"
|
||||
"gioui.org/ui/layout"
|
||||
"gioui.org/ui"
|
||||
)
|
||||
|
||||
type Image struct {
|
||||
|
||||
Reference in New Issue
Block a user