From 446eba52091a19d40e386c6eea37550230e14a44 Mon Sep 17 00:00:00 2001 From: stephen mcquay Date: Thu, 30 Apr 2015 23:07:21 -0700 Subject: [PATCH] vantiy urls I've moved remote to https://s.mcquay.me/hackerbots/ and stood up routes for go get on the hackerbots repos. I had to update the imports for this to take effect. --- botserv/main.go | 2 +- control.go | 3 ++- game.go | 2 +- obstacle.go | 2 +- player.go | 3 ++- projectile.go | 2 +- protocol.go | 3 ++- robot.go | 5 ++--- robot_test.go | 2 +- splosion.go | 2 +- 10 files changed, 14 insertions(+), 12 deletions(-) diff --git a/botserv/main.go b/botserv/main.go index 9ff590d..8fc87a7 100644 --- a/botserv/main.go +++ b/botserv/main.go @@ -10,7 +10,7 @@ import ( "runtime/pprof" "time" - "bitbucket.org/hackerbots/server" + "hackerbots.us/server" ) var addr = flag.String("addr", ":8666", "http service address") diff --git a/control.go b/control.go index 286e3c9..379e749 100644 --- a/control.go +++ b/control.go @@ -12,8 +12,9 @@ import ( "strings" "sync" - "github.com/smcquay/idg" "golang.org/x/net/websocket" + + "mcquay.me/idg" ) // JsonHandler is a function type that allows setting the Content-Type diff --git a/game.go b/game.go index 2c73fc4..1bb1cad 100644 --- a/game.go +++ b/game.go @@ -8,7 +8,7 @@ import ( "sync" "time" - "bitbucket.org/smcquay/bandwidth" + "mcquay.me/bandwidth" ) const maxPlayer = 128 diff --git a/obstacle.go b/obstacle.go index 2e5abbb..f188ee4 100644 --- a/obstacle.go +++ b/obstacle.go @@ -5,7 +5,7 @@ import ( "math" "math/rand" - v "bitbucket.org/hackerbots/vector" + v "hackerbots.us/vector" ) // Obstacle is the implementation of the generic building type in the game. diff --git a/player.go b/player.go index c0f0ec8..7f11124 100644 --- a/player.go +++ b/player.go @@ -5,8 +5,9 @@ import ( "encoding/json" "log" - "bitbucket.org/smcquay/bandwidth" "golang.org/x/net/websocket" + + "mcquay.me/bandwidth" ) const maxMessageSize = 1024 diff --git a/projectile.go b/projectile.go index f7eef5e..d0cf284 100644 --- a/projectile.go +++ b/projectile.go @@ -3,7 +3,7 @@ package server import ( "log" - v "bitbucket.org/hackerbots/vector" + v "hackerbots.us/vector" ) // Projectile are the things robots can shoot at eachother. diff --git a/protocol.go b/protocol.go index 5bb1674..fcc2e65 100644 --- a/protocol.go +++ b/protocol.go @@ -3,8 +3,9 @@ package server import ( "log" - v "bitbucket.org/hackerbots/vector" "golang.org/x/net/websocket" + + v "hackerbots.us/vector" ) // GameID is essentially the name of the game we want to join diff --git a/robot.go b/robot.go index 0c583d4..2ddfd84 100644 --- a/robot.go +++ b/robot.go @@ -5,9 +5,8 @@ import ( "math" "math/rand" - "github.com/smcquay/idg" - - v "bitbucket.org/hackerbots/vector" + v "hackerbots.us/vector" + "mcquay.me/idg" ) // Robot contains everything the game needs to know to simulate robot behavior. diff --git a/robot_test.go b/robot_test.go index 522834c..17cbc65 100644 --- a/robot_test.go +++ b/robot_test.go @@ -5,7 +5,7 @@ import ( "math" "testing" - v "bitbucket.org/hackerbots/vector" + v "hackerbots.us/vector" ) func init() { diff --git a/splosion.go b/splosion.go index 982e9fe..f53e08d 100644 --- a/splosion.go +++ b/splosion.go @@ -1,7 +1,7 @@ package server import ( - v "bitbucket.org/hackerbots/vector" + v "hackerbots.us/vector" ) // Splosion embodies an explosion.