From 41ee4c90b39be6d647e639f4788f50849a9119e1 Mon Sep 17 00:00:00 2001 From: Morgan Bazalgette Date: Sat, 14 Jan 2017 18:06:16 +0100 Subject: [PATCH] Move from git.zxq.co to zxq.co --- app/method.go | 2 +- app/peppy/beatmap.go | 2 +- app/peppy/common.go | 2 +- app/peppy/score.go | 4 ++-- app/peppy/user.go | 2 +- app/peppy/user_x.go | 4 ++-- app/rate_limiter.go | 2 +- app/recovery.go | 2 +- app/start.go | 8 ++++---- app/tokens.go | 2 +- app/v1/404.go | 2 +- app/v1/badge.go | 2 +- app/v1/beatmap.go | 2 +- app/v1/beatmap_requests.go | 4 ++-- app/v1/blog.go | 2 +- app/v1/doc.go | 2 +- app/v1/errors.go | 2 +- app/v1/friend.go | 2 +- app/v1/leaderboard.go | 4 ++-- app/v1/manage_user.go | 2 +- app/v1/meta_linux.go | 2 +- app/v1/meta_windows.go | 2 +- app/v1/ping.go | 2 +- app/v1/score.go | 2 +- app/v1/self.go | 4 ++-- app/v1/token.go | 6 +++--- app/v1/user.go | 4 ++-- app/v1/user_scores.go | 2 +- beatmapget/beatmapget.go | 2 +- beatmapget/fullset.go | 2 +- main.go | 8 ++++---- startuato_linux.go | 4 ++-- startuato_windows.go | 2 +- 33 files changed, 48 insertions(+), 48 deletions(-) diff --git a/app/method.go b/app/method.go index 7df01c0..21c0f49 100644 --- a/app/method.go +++ b/app/method.go @@ -9,7 +9,7 @@ import ( "regexp" "strings" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" "github.com/gin-gonic/gin" ) diff --git a/app/peppy/beatmap.go b/app/peppy/beatmap.go index 969d97d..3c368ce 100644 --- a/app/peppy/beatmap.go +++ b/app/peppy/beatmap.go @@ -4,7 +4,7 @@ import ( "strconv" "strings" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" "github.com/gin-gonic/gin" "github.com/jmoiron/sqlx" "github.com/thehowl/go-osuapi" diff --git a/app/peppy/common.go b/app/peppy/common.go index 84cbefa..53ef69c 100644 --- a/app/peppy/common.go +++ b/app/peppy/common.go @@ -4,7 +4,7 @@ import ( "database/sql" "strconv" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" "github.com/gin-gonic/gin" "github.com/jmoiron/sqlx" diff --git a/app/peppy/score.go b/app/peppy/score.go index 42f0f78..332a9a9 100644 --- a/app/peppy/score.go +++ b/app/peppy/score.go @@ -5,9 +5,9 @@ import ( "strconv" "strings" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" - "git.zxq.co/x/getrank" + "zxq.co/x/getrank" "github.com/gin-gonic/gin" "github.com/jmoiron/sqlx" "gopkg.in/thehowl/go-osuapi.v1" diff --git a/app/peppy/user.go b/app/peppy/user.go index 0f4a90c..18dc9c0 100644 --- a/app/peppy/user.go +++ b/app/peppy/user.go @@ -5,7 +5,7 @@ import ( "database/sql" "fmt" - "git.zxq.co/ripple/ocl" + "zxq.co/ripple/ocl" "github.com/gin-gonic/gin" "github.com/jmoiron/sqlx" "github.com/thehowl/go-osuapi" diff --git a/app/peppy/user_x.go b/app/peppy/user_x.go index 260e79a..6627cd4 100644 --- a/app/peppy/user_x.go +++ b/app/peppy/user_x.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "git.zxq.co/ripple/rippleapi/common" - "git.zxq.co/x/getrank" + "zxq.co/ripple/rippleapi/common" + "zxq.co/x/getrank" "github.com/gin-gonic/gin" "github.com/jmoiron/sqlx" "gopkg.in/thehowl/go-osuapi.v1" diff --git a/app/rate_limiter.go b/app/rate_limiter.go index f525332..b0b34f7 100644 --- a/app/rate_limiter.go +++ b/app/rate_limiter.go @@ -4,7 +4,7 @@ import ( "strconv" "time" - "git.zxq.co/ripple/rippleapi/limit" + "zxq.co/ripple/rippleapi/limit" ) const reqsPerSecond = 5000 diff --git a/app/recovery.go b/app/recovery.go index 4a35a0c..d90a95b 100644 --- a/app/recovery.go +++ b/app/recovery.go @@ -18,7 +18,7 @@ func Recovery(client *raven.Client, onlyCrashes bool) gin.HandlerFunc { var requestBody []byte defer func() { - st := raven.NewStacktrace(0, 3, []string{"git.zxq.co/ripple"}) + st := raven.NewStacktrace(0, 3, []string{"zxq.co/ripple"}) tokenRaw, ex := c.Get("token") var token string diff --git a/app/start.go b/app/start.go index ccb696e..c0d3ff5 100644 --- a/app/start.go +++ b/app/start.go @@ -3,10 +3,10 @@ package app import ( "fmt" - "git.zxq.co/ripple/rippleapi/app/internals" - "git.zxq.co/ripple/rippleapi/app/peppy" - "git.zxq.co/ripple/rippleapi/app/v1" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/app/internals" + "zxq.co/ripple/rippleapi/app/peppy" + "zxq.co/ripple/rippleapi/app/v1" + "zxq.co/ripple/rippleapi/common" "github.com/DataDog/datadog-go/statsd" "github.com/getsentry/raven-go" "github.com/gin-gonic/contrib/gzip" diff --git a/app/tokens.go b/app/tokens.go index 42d15bb..276fdd8 100644 --- a/app/tokens.go +++ b/app/tokens.go @@ -6,7 +6,7 @@ import ( "fmt" "time" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" "github.com/jmoiron/sqlx" ) diff --git a/app/v1/404.go b/app/v1/404.go index 04f95d0..7a941c6 100644 --- a/app/v1/404.go +++ b/app/v1/404.go @@ -1,7 +1,7 @@ package v1 import ( - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" "github.com/gin-gonic/gin" ) diff --git a/app/v1/badge.go b/app/v1/badge.go index f01c365..bcff1e2 100644 --- a/app/v1/badge.go +++ b/app/v1/badge.go @@ -3,7 +3,7 @@ package v1 import ( "database/sql" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" ) type singleBadge struct { diff --git a/app/v1/beatmap.go b/app/v1/beatmap.go index 704dd22..25da3cb 100644 --- a/app/v1/beatmap.go +++ b/app/v1/beatmap.go @@ -5,7 +5,7 @@ import ( "fmt" "net/url" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" ) type difficulty struct { diff --git a/app/v1/beatmap_requests.go b/app/v1/beatmap_requests.go index 4219b58..90f1103 100644 --- a/app/v1/beatmap_requests.go +++ b/app/v1/beatmap_requests.go @@ -6,8 +6,8 @@ import ( "strconv" "time" - "git.zxq.co/ripple/rippleapi/common" - "git.zxq.co/ripple/rippleapi/limit" + "zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/limit" ) type rankRequestsStatusResponse struct { diff --git a/app/v1/blog.go b/app/v1/blog.go index c6d6d4b..5c83ad5 100644 --- a/app/v1/blog.go +++ b/app/v1/blog.go @@ -3,7 +3,7 @@ package v1 import ( "time" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" ) type blogPost struct { diff --git a/app/v1/doc.go b/app/v1/doc.go index e5bd59a..ddb2ff1 100644 --- a/app/v1/doc.go +++ b/app/v1/doc.go @@ -3,7 +3,7 @@ package v1 import ( "database/sql" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" ) type docFile struct { diff --git a/app/v1/errors.go b/app/v1/errors.go index 9fb38fd..c892184 100644 --- a/app/v1/errors.go +++ b/app/v1/errors.go @@ -3,7 +3,7 @@ package v1 import ( "strings" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" ) // Boilerplate errors diff --git a/app/v1/friend.go b/app/v1/friend.go index 616658f..a4dc25f 100644 --- a/app/v1/friend.go +++ b/app/v1/friend.go @@ -3,7 +3,7 @@ package v1 import ( "database/sql" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" ) type friendData struct { diff --git a/app/v1/leaderboard.go b/app/v1/leaderboard.go index a07ab49..ec9f8a2 100644 --- a/app/v1/leaderboard.go +++ b/app/v1/leaderboard.go @@ -3,8 +3,8 @@ package v1 import ( "fmt" - "git.zxq.co/ripple/ocl" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/ocl" + "zxq.co/ripple/rippleapi/common" ) type leaderboardUser struct { diff --git a/app/v1/manage_user.go b/app/v1/manage_user.go index 13e07e1..2e2d615 100644 --- a/app/v1/manage_user.go +++ b/app/v1/manage_user.go @@ -3,7 +3,7 @@ package v1 import ( "time" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" ) type setAllowedData struct { diff --git a/app/v1/meta_linux.go b/app/v1/meta_linux.go index c094271..3d63d01 100644 --- a/app/v1/meta_linux.go +++ b/app/v1/meta_linux.go @@ -14,7 +14,7 @@ import ( "syscall" "time" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" ) // MetaRestartGET restarts the API with Zero Downtime™. diff --git a/app/v1/meta_windows.go b/app/v1/meta_windows.go index eb304df..e23b5de 100644 --- a/app/v1/meta_windows.go +++ b/app/v1/meta_windows.go @@ -5,7 +5,7 @@ package v1 import ( "time" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" ) // MetaRestartGET restarts the API with Zero Downtime™. diff --git a/app/v1/ping.go b/app/v1/ping.go index d4cc63c..668da0d 100644 --- a/app/v1/ping.go +++ b/app/v1/ping.go @@ -4,7 +4,7 @@ import ( "math/rand" "time" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" ) var rn = rand.New(rand.NewSource(time.Now().UnixNano())) diff --git a/app/v1/score.go b/app/v1/score.go index 2a9a03f..a78db0d 100644 --- a/app/v1/score.go +++ b/app/v1/score.go @@ -5,7 +5,7 @@ import ( "fmt" "strconv" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" ) type score struct { diff --git a/app/v1/self.go b/app/v1/self.go index 1386989..ef329ae 100644 --- a/app/v1/self.go +++ b/app/v1/self.go @@ -3,8 +3,8 @@ package v1 import ( "strings" - "git.zxq.co/ripple/rippleapi/common" - "git.zxq.co/ripple/semantic-icons-ugc" + "zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/semantic-icons-ugc" ) type donorInfoResponse struct { diff --git a/app/v1/token.go b/app/v1/token.go index cef2c69..69988a1 100644 --- a/app/v1/token.go +++ b/app/v1/token.go @@ -8,9 +8,9 @@ import ( "github.com/jmoiron/sqlx" - "git.zxq.co/ripple/rippleapi/common" - "git.zxq.co/ripple/rippleapi/limit" - "git.zxq.co/ripple/schiavolib" + "zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/limit" + "zxq.co/ripple/schiavolib" "golang.org/x/crypto/bcrypt" ) diff --git a/app/v1/user.go b/app/v1/user.go index e8b1027..792afdf 100644 --- a/app/v1/user.go +++ b/app/v1/user.go @@ -8,8 +8,8 @@ import ( "github.com/jmoiron/sqlx" - "git.zxq.co/ripple/ocl" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/ocl" + "zxq.co/ripple/rippleapi/common" ) type userData struct { diff --git a/app/v1/user_scores.go b/app/v1/user_scores.go index 04166d2..54b5ab6 100644 --- a/app/v1/user_scores.go +++ b/app/v1/user_scores.go @@ -3,7 +3,7 @@ package v1 import ( "fmt" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" ) type userScore struct { diff --git a/beatmapget/beatmapget.go b/beatmapget/beatmapget.go index 44a6ec8..cb0f6f8 100644 --- a/beatmapget/beatmapget.go +++ b/beatmapget/beatmapget.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" "github.com/jmoiron/sqlx" "gopkg.in/thehowl/go-osuapi.v1" ) diff --git a/beatmapget/fullset.go b/beatmapget/fullset.go index d6212e3..8531073 100644 --- a/beatmapget/fullset.go +++ b/beatmapget/fullset.go @@ -5,7 +5,7 @@ import ( "errors" "time" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" "gopkg.in/thehowl/go-osuapi.v1" ) diff --git a/main.go b/main.go index 4786b99..414f7fa 100644 --- a/main.go +++ b/main.go @@ -6,10 +6,10 @@ import ( "strings" "syscall" - "git.zxq.co/ripple/rippleapi/app" - "git.zxq.co/ripple/rippleapi/beatmapget" - "git.zxq.co/ripple/rippleapi/common" - "git.zxq.co/ripple/schiavolib" + "zxq.co/ripple/rippleapi/app" + "zxq.co/ripple/rippleapi/beatmapget" + "zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/schiavolib" // Golint pls dont break balls _ "github.com/go-sql-driver/mysql" "github.com/jmoiron/sqlx" diff --git a/startuato_linux.go b/startuato_linux.go index e5e7156..ba9bc35 100644 --- a/startuato_linux.go +++ b/startuato_linux.go @@ -9,8 +9,8 @@ import ( "fmt" "time" - "git.zxq.co/ripple/schiavolib" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/schiavolib" + "zxq.co/ripple/rippleapi/common" "github.com/gin-gonic/gin" "github.com/rcrowley/goagain" ) diff --git a/startuato_windows.go b/startuato_windows.go index 3accce9..af6a27e 100644 --- a/startuato_windows.go +++ b/startuato_windows.go @@ -8,7 +8,7 @@ import ( "net/http" "github.com/gin-gonic/gin" - "git.zxq.co/ripple/rippleapi/common" + "zxq.co/ripple/rippleapi/common" ) func startuato(engine *gin.Engine) {