From bc298684591dd6739183c94155b9878f10f51c2b Mon Sep 17 00:00:00 2001 From: Robin Eklind Date: Tue, 4 Sep 2018 00:12:02 +0200 Subject: [PATCH] Update import paths. Automated using: find . -type f | grep -v "\.git" | xargs -I '{}' sar -i "github.com/faiface/pixel/examples/" "github.com/faiface/pixel-examples/" "{}" With the sar tool, https://godoc.org/github.com/mewkiz/cmd/sar Updates faiface/pixel#135. --- community/amidakuji/README.md | 8 ++++---- community/amidakuji/game.go | 4 ++-- community/amidakuji/glossary/explosive.go | 2 +- community/amidakuji/glossary/jukebox/music.go | 2 +- community/amidakuji/glossary/starfield.go | 2 +- community/amidakuji/ladder.go | 2 +- community/amidakuji/nametag.go | 2 +- community/amidakuji/path.go | 2 +- community/amidakuji/scalpel.go | 2 +- community/game_of_life/main.go | 2 +- community/maze/maze-generator.go | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/community/amidakuji/README.md b/community/amidakuji/README.md index c546e33..ed40bdf 100644 --- a/community/amidakuji/README.md +++ b/community/amidakuji/README.md @@ -40,12 +40,12 @@ #### Windows ``` -$ go get -v github.com/faiface/pixel/examples/community/amidakuji/... +$ go get -v github.com/faiface/pixel-examples/community/amidakuji/... $ go get -v -u github.com/go-bindata/go-bindata/... ``` ``` -$ cd $GOPATH/src/github.com/faiface/pixel/examples/community/amidakuji/ +$ cd $GOPATH/src/github.com/faiface/pixel-examples/community/amidakuji/ $ make ``` @@ -62,12 +62,12 @@ $ sudo apt install libglib2.0-dev libpango1.0-dev libasound2-dev libgdk-pixbuf2. ``` ``` -$ go get -v github.com/faiface/pixel/examples/community/amidakuji/... +$ go get -v github.com/faiface/pixel-examples/community/amidakuji/... $ go get -v -u github.com/go-bindata/go-bindata/... ``` ``` -$ cd $GOPATH/src/github.com/faiface/pixel/examples/community/amidakuji/ +$ cd $GOPATH/src/github.com/faiface/pixel-examples/community/amidakuji/ $ make ``` diff --git a/community/amidakuji/game.go b/community/amidakuji/game.go index 466ba69..af37344 100644 --- a/community/amidakuji/game.go +++ b/community/amidakuji/game.go @@ -15,8 +15,8 @@ import ( "time" "unsafe" - gg "github.com/faiface/pixel/examples/community/amidakuji/glossary" - "github.com/faiface/pixel/examples/community/amidakuji/glossary/jukebox" + gg "github.com/faiface/pixel-examples/community/amidakuji/glossary" + "github.com/faiface/pixel-examples/community/amidakuji/glossary/jukebox" glfw "github.com/go-gl/glfw/v3.2/glfw" "github.com/faiface/pixel" diff --git a/community/amidakuji/glossary/explosive.go b/community/amidakuji/glossary/explosive.go index f5255d6..d2cc69e 100644 --- a/community/amidakuji/glossary/explosive.go +++ b/community/amidakuji/glossary/explosive.go @@ -11,7 +11,7 @@ import ( // ------------------------------------------------------------------------- // explosive.go -// - Original idea: "github.com/faiface/pixel/examples/community/bouncing" +// - Original idea: "github.com/faiface/pixel-examples/community/bouncing" // -------------------------------------------------------------------- diff --git a/community/amidakuji/glossary/jukebox/music.go b/community/amidakuji/glossary/jukebox/music.go index 22e54ea..6c6da80 100644 --- a/community/amidakuji/glossary/jukebox/music.go +++ b/community/amidakuji/glossary/jukebox/music.go @@ -7,7 +7,7 @@ import ( "sync" "time" - gg "github.com/faiface/pixel/examples/community/amidakuji/glossary" + gg "github.com/faiface/pixel-examples/community/amidakuji/glossary" "github.com/faiface/beep" "github.com/faiface/beep/speaker" diff --git a/community/amidakuji/glossary/starfield.go b/community/amidakuji/glossary/starfield.go index 9b0090f..86c086a 100644 --- a/community/amidakuji/glossary/starfield.go +++ b/community/amidakuji/glossary/starfield.go @@ -11,7 +11,7 @@ import ( // ------------------------------------------------------------------------- // Reusable modified starfiled -// - Original: "github.com/faiface/pixel/examples/community/starfield" +// - Original: "github.com/faiface/pixel-examples/community/starfield" // - Encapsulated by nanitefactory // ------------------------------------------------------------------------- diff --git a/community/amidakuji/ladder.go b/community/amidakuji/ladder.go index 14fd257..70b2aa6 100644 --- a/community/amidakuji/ladder.go +++ b/community/amidakuji/ladder.go @@ -4,7 +4,7 @@ import ( "math/rand" "sync" - gg "github.com/faiface/pixel/examples/community/amidakuji/glossary" + gg "github.com/faiface/pixel-examples/community/amidakuji/glossary" "github.com/faiface/pixel" "github.com/faiface/pixel/imdraw" diff --git a/community/amidakuji/nametag.go b/community/amidakuji/nametag.go index 3acf5c1..0cd4825 100644 --- a/community/amidakuji/nametag.go +++ b/community/amidakuji/nametag.go @@ -4,7 +4,7 @@ import ( "image/color" "sync" - gg "github.com/faiface/pixel/examples/community/amidakuji/glossary" + gg "github.com/faiface/pixel-examples/community/amidakuji/glossary" "github.com/faiface/pixel" "github.com/faiface/pixel/imdraw" diff --git a/community/amidakuji/path.go b/community/amidakuji/path.go index 4761d65..31b29b5 100644 --- a/community/amidakuji/path.go +++ b/community/amidakuji/path.go @@ -4,7 +4,7 @@ import ( "math" "sync" - gg "github.com/faiface/pixel/examples/community/amidakuji/glossary" + gg "github.com/faiface/pixel-examples/community/amidakuji/glossary" "github.com/faiface/pixel" "github.com/faiface/pixel/imdraw" diff --git a/community/amidakuji/scalpel.go b/community/amidakuji/scalpel.go index 6976cc8..97ad6dd 100644 --- a/community/amidakuji/scalpel.go +++ b/community/amidakuji/scalpel.go @@ -4,7 +4,7 @@ import ( "image/color" "sync" - gg "github.com/faiface/pixel/examples/community/amidakuji/glossary" + gg "github.com/faiface/pixel-examples/community/amidakuji/glossary" "github.com/faiface/pixel" "github.com/faiface/pixel/imdraw" diff --git a/community/game_of_life/main.go b/community/game_of_life/main.go index 26f5ea0..aef7c31 100644 --- a/community/game_of_life/main.go +++ b/community/game_of_life/main.go @@ -8,7 +8,7 @@ import ( "golang.org/x/image/colornames" "github.com/faiface/pixel" - "github.com/faiface/pixel/examples/community/game_of_life/life" + "github.com/faiface/pixel-examples/community/game_of_life/life" "github.com/faiface/pixel/imdraw" "github.com/faiface/pixel/pixelgl" ) diff --git a/community/maze/maze-generator.go b/community/maze/maze-generator.go index a8b09f8..0ddbdac 100644 --- a/community/maze/maze-generator.go +++ b/community/maze/maze-generator.go @@ -16,7 +16,7 @@ import ( "time" "github.com/faiface/pixel" - "github.com/faiface/pixel/examples/community/maze/stack" + "github.com/faiface/pixel-examples/community/maze/stack" "github.com/faiface/pixel/imdraw" "github.com/faiface/pixel/pixelgl"