Just let goimports handle the import sorting.
parent
897ea4222c
commit
4343af651f
7
main.go
7
main.go
|
@ -7,13 +7,12 @@ import (
|
|||
"runtime"
|
||||
"runtime/pprof"
|
||||
|
||||
gl "github.com/go-gl/gl/v3.1/gles2"
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
"github.com/veandco/go-sdl2/sdl"
|
||||
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/breakout"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/game_window"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_objects"
|
||||
gl "github.com/go-gl/gl/v3.1/gles2"
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
"github.com/veandco/go-sdl2/sdl"
|
||||
)
|
||||
|
||||
var cpuprofile = flag.String("cpuprofile", "", "write cpu profile to file")
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
package breakout
|
||||
|
||||
import (
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_objects"
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
)
|
||||
|
||||
type BoundingBox struct {
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
package breakout
|
||||
|
||||
import (
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_objects"
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
)
|
||||
|
||||
type Brick struct {
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
package breakout
|
||||
|
||||
import (
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_objects"
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
)
|
||||
|
||||
type Targets struct {
|
||||
|
|
|
@ -4,12 +4,11 @@ import (
|
|||
"fmt"
|
||||
"log"
|
||||
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_helpers"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_objects"
|
||||
gl "github.com/go-gl/gl/v3.1/gles2"
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
"github.com/veandco/go-sdl2/sdl"
|
||||
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_helpers"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_objects"
|
||||
)
|
||||
|
||||
const DefaultWindowWidth int32 = 800
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
package gl_objects
|
||||
|
||||
import (
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_helpers"
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
)
|
||||
|
||||
type Material struct {
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
package gl_objects
|
||||
|
||||
import (
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_helpers"
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
)
|
||||
|
||||
// Point Light
|
||||
|
|
Loading…
Reference in New Issue