mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-08 10:55:35 +00:00
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"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"gioui.org/ui"
|
||||||
"gioui.org/ui/app/internal/gl"
|
"gioui.org/ui/app/internal/gl"
|
||||||
gdraw "gioui.org/ui/draw"
|
gdraw "gioui.org/ui/draw"
|
||||||
"gioui.org/ui/f32"
|
"gioui.org/ui/f32"
|
||||||
"gioui.org/ui/internal/path"
|
"gioui.org/ui/internal/path"
|
||||||
"gioui.org/ui"
|
|
||||||
"golang.org/x/image/draw"
|
"golang.org/x/image/draw"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -24,10 +24,10 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
|
||||||
|
"gioui.org/ui"
|
||||||
"gioui.org/ui/f32"
|
"gioui.org/ui/f32"
|
||||||
"gioui.org/ui/key"
|
"gioui.org/ui/key"
|
||||||
"gioui.org/ui/pointer"
|
"gioui.org/ui/pointer"
|
||||||
"gioui.org/ui"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type window struct {
|
type window struct {
|
||||||
|
|||||||
@@ -19,10 +19,10 @@ import (
|
|||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
|
||||||
|
"gioui.org/ui"
|
||||||
"gioui.org/ui/f32"
|
"gioui.org/ui/f32"
|
||||||
"gioui.org/ui/key"
|
"gioui.org/ui/key"
|
||||||
"gioui.org/ui/pointer"
|
"gioui.org/ui/pointer"
|
||||||
"gioui.org/ui"
|
|
||||||
syscall "golang.org/x/sys/unix"
|
syscall "golang.org/x/sys/unix"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -9,10 +9,10 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"gioui.org/ui"
|
||||||
"gioui.org/ui/app/internal/gpu"
|
"gioui.org/ui/app/internal/gpu"
|
||||||
"gioui.org/ui/key"
|
"gioui.org/ui/key"
|
||||||
"gioui.org/ui/pointer"
|
"gioui.org/ui/pointer"
|
||||||
"gioui.org/ui"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type WindowOptions struct {
|
type WindowOptions struct {
|
||||||
|
|||||||
+1
-1
@@ -6,9 +6,9 @@ import (
|
|||||||
"image"
|
"image"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
|
"gioui.org/ui"
|
||||||
"gioui.org/ui/f32"
|
"gioui.org/ui/f32"
|
||||||
"gioui.org/ui/internal/path"
|
"gioui.org/ui/internal/path"
|
||||||
"gioui.org/ui"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type OpImage struct {
|
type OpImage struct {
|
||||||
|
|||||||
+1
-1
@@ -5,9 +5,9 @@ package draw
|
|||||||
import (
|
import (
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
|
"gioui.org/ui"
|
||||||
"gioui.org/ui/f32"
|
"gioui.org/ui/f32"
|
||||||
"gioui.org/ui/internal/path"
|
"gioui.org/ui/internal/path"
|
||||||
"gioui.org/ui"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type OpClip struct {
|
type OpClip struct {
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ import (
|
|||||||
"runtime"
|
"runtime"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"gioui.org/ui"
|
||||||
"gioui.org/ui/f32"
|
"gioui.org/ui/f32"
|
||||||
"gioui.org/ui/pointer"
|
"gioui.org/ui/pointer"
|
||||||
"gioui.org/ui"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type ClickEvent struct {
|
type ClickEvent struct {
|
||||||
|
|||||||
+1
-1
@@ -5,8 +5,8 @@ package layout
|
|||||||
import (
|
import (
|
||||||
"image"
|
"image"
|
||||||
|
|
||||||
"gioui.org/ui/f32"
|
|
||||||
"gioui.org/ui"
|
"gioui.org/ui"
|
||||||
|
"gioui.org/ui/f32"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Flex struct {
|
type Flex struct {
|
||||||
|
|||||||
+1
-1
@@ -5,10 +5,10 @@ package layout
|
|||||||
import (
|
import (
|
||||||
"image"
|
"image"
|
||||||
|
|
||||||
|
"gioui.org/ui"
|
||||||
"gioui.org/ui/draw"
|
"gioui.org/ui/draw"
|
||||||
"gioui.org/ui/gesture"
|
"gioui.org/ui/gesture"
|
||||||
"gioui.org/ui/pointer"
|
"gioui.org/ui/pointer"
|
||||||
"gioui.org/ui"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type scrollChild struct {
|
type scrollChild struct {
|
||||||
|
|||||||
@@ -7,10 +7,10 @@ import (
|
|||||||
"unicode"
|
"unicode"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
|
|
||||||
|
"gioui.org/ui"
|
||||||
"gioui.org/ui/draw"
|
"gioui.org/ui/draw"
|
||||||
"gioui.org/ui/f32"
|
"gioui.org/ui/f32"
|
||||||
"gioui.org/ui/text"
|
"gioui.org/ui/text"
|
||||||
"gioui.org/ui"
|
|
||||||
"golang.org/x/image/font"
|
"golang.org/x/image/font"
|
||||||
"golang.org/x/image/font/sfnt"
|
"golang.org/x/image/font/sfnt"
|
||||||
"golang.org/x/image/math/fixed"
|
"golang.org/x/image/math/fixed"
|
||||||
|
|||||||
+1
-1
@@ -3,8 +3,8 @@
|
|||||||
package pointer
|
package pointer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gioui.org/ui/f32"
|
|
||||||
"gioui.org/ui"
|
"gioui.org/ui"
|
||||||
|
"gioui.org/ui/f32"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Queue struct {
|
type Queue struct {
|
||||||
|
|||||||
+1
-1
@@ -8,13 +8,13 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
|
|
||||||
|
"gioui.org/ui"
|
||||||
"gioui.org/ui/draw"
|
"gioui.org/ui/draw"
|
||||||
"gioui.org/ui/f32"
|
"gioui.org/ui/f32"
|
||||||
"gioui.org/ui/gesture"
|
"gioui.org/ui/gesture"
|
||||||
"gioui.org/ui/key"
|
"gioui.org/ui/key"
|
||||||
"gioui.org/ui/layout"
|
"gioui.org/ui/layout"
|
||||||
"gioui.org/ui/pointer"
|
"gioui.org/ui/pointer"
|
||||||
"gioui.org/ui"
|
|
||||||
|
|
||||||
"golang.org/x/image/math/fixed"
|
"golang.org/x/image/math/fixed"
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -7,10 +7,10 @@ import (
|
|||||||
"math"
|
"math"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
|
|
||||||
|
"gioui.org/ui"
|
||||||
"gioui.org/ui/draw"
|
"gioui.org/ui/draw"
|
||||||
"gioui.org/ui/f32"
|
"gioui.org/ui/f32"
|
||||||
"gioui.org/ui/layout"
|
"gioui.org/ui/layout"
|
||||||
"gioui.org/ui"
|
|
||||||
|
|
||||||
"golang.org/x/image/math/fixed"
|
"golang.org/x/image/math/fixed"
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -5,10 +5,10 @@ package widget
|
|||||||
import (
|
import (
|
||||||
"image"
|
"image"
|
||||||
|
|
||||||
|
"gioui.org/ui"
|
||||||
"gioui.org/ui/draw"
|
"gioui.org/ui/draw"
|
||||||
"gioui.org/ui/f32"
|
"gioui.org/ui/f32"
|
||||||
"gioui.org/ui/layout"
|
"gioui.org/ui/layout"
|
||||||
"gioui.org/ui"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type Image struct {
|
type Image struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user