diff --git a/README.md b/README.md index c225168..aae5af5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This is the source code for Ripple's API. -- Origin: https://git.github.com/osuYozora/api +- Origin: https://git.github.com/osuyozora/api - Mirror: https://github.com/osuyozora/api ## Note to fellow developers: this is not how you do it! diff --git a/app/method.go b/app/method.go index 4c1ffec..dff5821 100644 --- a/app/method.go +++ b/app/method.go @@ -9,7 +9,7 @@ import ( "unsafe" "github.com/valyala/fasthttp" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) // Method wraps an API method to a HandlerFunc. diff --git a/app/peppy/beatmap.go b/app/peppy/beatmap.go index d93b6d2..7913bc2 100644 --- a/app/peppy/beatmap.go +++ b/app/peppy/beatmap.go @@ -7,7 +7,7 @@ import ( "github.com/jmoiron/sqlx" "github.com/thehowl/go-osuapi" "github.com/valyala/fasthttp" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) // GetBeatmap retrieves general beatmap information. diff --git a/app/peppy/common.go b/app/peppy/common.go index 4e45ef7..fdf368b 100644 --- a/app/peppy/common.go +++ b/app/peppy/common.go @@ -7,7 +7,7 @@ import ( "github.com/jmoiron/sqlx" "github.com/valyala/fasthttp" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) var modes = []string{"std", "taiko", "ctb", "mania"} diff --git a/app/peppy/score.go b/app/peppy/score.go index d9f5189..dad7086 100644 --- a/app/peppy/score.go +++ b/app/peppy/score.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" "github.com/jmoiron/sqlx" "github.com/valyala/fasthttp" diff --git a/app/peppy/user.go b/app/peppy/user.go index 34be578..e0a176b 100644 --- a/app/peppy/user.go +++ b/app/peppy/user.go @@ -13,7 +13,7 @@ import ( "github.com/valyala/fasthttp" "gopkg.in/redis.v5" "zxq.co/ripple/ocl" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) // R is a redis client. diff --git a/app/peppy/user_x.go b/app/peppy/user_x.go index e89ed2b..090c0c1 100644 --- a/app/peppy/user_x.go +++ b/app/peppy/user_x.go @@ -7,7 +7,7 @@ import ( "github.com/jmoiron/sqlx" "github.com/valyala/fasthttp" "gopkg.in/thehowl/go-osuapi.v1" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" "zxq.co/x/getrank" ) diff --git a/app/router.go b/app/router.go index 6d3a902..2ebabd0 100644 --- a/app/router.go +++ b/app/router.go @@ -9,7 +9,7 @@ import ( "github.com/buaazp/fasthttprouter" "github.com/jmoiron/sqlx" "github.com/valyala/fasthttp" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) type router struct { diff --git a/app/start.go b/app/start.go index 40ec2b9..6ff108b 100644 --- a/app/start.go +++ b/app/start.go @@ -9,11 +9,11 @@ import ( "github.com/getsentry/raven-go" "github.com/jmoiron/sqlx" "gopkg.in/redis.v5" - "github.com/osuYozora/api/app/internals" - "github.com/osuYozora/api/app/peppy" - "github.com/osuYozora/api/app/v1" - "github.com/osuYozora/api/app/websockets" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/app/internals" + "github.com/osuyozora/api/app/peppy" + "github.com/osuyozora/api/app/v1" + "github.com/osuyozora/api/app/websockets" + "github.com/osuyozora/api/common" ) var ( diff --git a/app/tokens.go b/app/tokens.go index 86d1d68..161f430 100644 --- a/app/tokens.go +++ b/app/tokens.go @@ -8,7 +8,7 @@ import ( "time" "github.com/jmoiron/sqlx" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) // GetTokenFull retrieves an user ID and their token privileges knowing their API token. diff --git a/app/v1/404.go b/app/v1/404.go index 5dee56c..2d81e4c 100644 --- a/app/v1/404.go +++ b/app/v1/404.go @@ -4,7 +4,7 @@ import ( "encoding/json" "github.com/valyala/fasthttp" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) type response404 struct { diff --git a/app/v1/badge.go b/app/v1/badge.go index d15a8e7..faf933b 100644 --- a/app/v1/badge.go +++ b/app/v1/badge.go @@ -3,7 +3,7 @@ package v1 import ( "database/sql" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) type singleBadge struct { diff --git a/app/v1/beatmap.go b/app/v1/beatmap.go index d3a0995..f9b931d 100644 --- a/app/v1/beatmap.go +++ b/app/v1/beatmap.go @@ -3,7 +3,7 @@ package v1 import ( "database/sql" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) type difficulty struct { diff --git a/app/v1/beatmap_requests.go b/app/v1/beatmap_requests.go index 82510ac..cddcda6 100644 --- a/app/v1/beatmap_requests.go +++ b/app/v1/beatmap_requests.go @@ -6,8 +6,8 @@ import ( "strconv" "time" - "github.com/osuYozora/api/common" - "github.com/osuYozora/api/limit" + "github.com/osuyozora/api/common" + "github.com/osuyozora/api/limit" ) type rankRequestsStatusResponse struct { diff --git a/app/v1/blog.go b/app/v1/blog.go index 4b40ffe..62db7f7 100644 --- a/app/v1/blog.go +++ b/app/v1/blog.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) // This basically proxies requests from Medium's API and is used on Ripple's diff --git a/app/v1/clan.go b/app/v1/clan.go index b81b2f0..8cf939c 100644 --- a/app/v1/clan.go +++ b/app/v1/clan.go @@ -5,7 +5,7 @@ import ( "fmt" "sort" "strconv" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) type singleClan struct { diff --git a/app/v1/errors.go b/app/v1/errors.go index 676c69b..20c1dda 100644 --- a/app/v1/errors.go +++ b/app/v1/errors.go @@ -3,7 +3,7 @@ package v1 import ( "strings" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) // Boilerplate errors diff --git a/app/v1/friend.go b/app/v1/friend.go index b016055..152854f 100644 --- a/app/v1/friend.go +++ b/app/v1/friend.go @@ -3,7 +3,7 @@ package v1 import ( "database/sql" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) type friendData struct { diff --git a/app/v1/leaderboard.go b/app/v1/leaderboard.go index 2188fe6..f776701 100644 --- a/app/v1/leaderboard.go +++ b/app/v1/leaderboard.go @@ -10,7 +10,7 @@ import ( redis "gopkg.in/redis.v5" "zxq.co/ripple/ocl" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) type leaderboardUser struct { diff --git a/app/v1/manage_user.go b/app/v1/manage_user.go index 64cd933..c01f53c 100644 --- a/app/v1/manage_user.go +++ b/app/v1/manage_user.go @@ -9,7 +9,7 @@ import ( "time" redis "gopkg.in/redis.v5" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) type setAllowedData struct { diff --git a/app/v1/meta_linux.go b/app/v1/meta_linux.go index 3b4864d..cd7b824 100644 --- a/app/v1/meta_linux.go +++ b/app/v1/meta_linux.go @@ -13,7 +13,7 @@ import ( "syscall" "time" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) // MetaRestartGET restarts the API with Zero Downtime™. diff --git a/app/v1/meta_windows.go b/app/v1/meta_windows.go index 77dad9a..59610a9 100644 --- a/app/v1/meta_windows.go +++ b/app/v1/meta_windows.go @@ -5,7 +5,7 @@ package v1 import ( "time" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) // MetaRestartGET restarts the API with Zero Downtime™. diff --git a/app/v1/ping.go b/app/v1/ping.go index 03989fd..78b388b 100644 --- a/app/v1/ping.go +++ b/app/v1/ping.go @@ -4,7 +4,7 @@ import ( "math/rand" "time" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) var rn = rand.New(rand.NewSource(time.Now().UnixNano())) diff --git a/app/v1/rap.go b/app/v1/rap.go index fdc4361..8645332 100644 --- a/app/v1/rap.go +++ b/app/v1/rap.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) type rapLogData struct { diff --git a/app/v1/score.go b/app/v1/score.go index 40e9240..4ac5e63 100644 --- a/app/v1/score.go +++ b/app/v1/score.go @@ -8,7 +8,7 @@ import ( "strings" "gopkg.in/thehowl/go-osuapi.v1" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" "zxq.co/x/getrank" ) diff --git a/app/v1/self.go b/app/v1/self.go index 6893728..10b0331 100644 --- a/app/v1/self.go +++ b/app/v1/self.go @@ -3,7 +3,7 @@ package v1 import ( "strings" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" "zxq.co/ripple/semantic-icons-ugc" ) diff --git a/app/v1/token.go b/app/v1/token.go index 9aa5bcc..1e5928e 100644 --- a/app/v1/token.go +++ b/app/v1/token.go @@ -11,7 +11,7 @@ import ( "github.com/jmoiron/sqlx" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" "zxq.co/ripple/schiavolib" ) diff --git a/app/v1/user.go b/app/v1/user.go index 3d27fd8..67ac551 100644 --- a/app/v1/user.go +++ b/app/v1/user.go @@ -9,7 +9,7 @@ import ( "github.com/jmoiron/sqlx" "zxq.co/ripple/ocl" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) type userData struct { diff --git a/app/v1/user_achievements.go b/app/v1/user_achievements.go index 70e67a1..8e84d9e 100644 --- a/app/v1/user_achievements.go +++ b/app/v1/user_achievements.go @@ -6,7 +6,7 @@ import ( "time" "github.com/jmoiron/sqlx" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) // Achievement represents an achievement in the database. diff --git a/app/v1/user_scores.go b/app/v1/user_scores.go index a9a4f15..2e20b27 100644 --- a/app/v1/user_scores.go +++ b/app/v1/user_scores.go @@ -5,7 +5,7 @@ import ( "strings" "gopkg.in/thehowl/go-osuapi.v1" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" "zxq.co/x/getrank" ) diff --git a/app/v1/user_scores_ap.go b/app/v1/user_scores_ap.go index 9628c0d..bd4866d 100644 --- a/app/v1/user_scores_ap.go +++ b/app/v1/user_scores_ap.go @@ -5,7 +5,7 @@ import ( "strings" "gopkg.in/thehowl/go-osuapi.v1" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" "zxq.co/x/getrank" ) diff --git a/app/v1/user_scores_relax.go b/app/v1/user_scores_relax.go index e434fae..8edd0d2 100644 --- a/app/v1/user_scores_relax.go +++ b/app/v1/user_scores_relax.go @@ -5,7 +5,7 @@ import ( "strings" "gopkg.in/thehowl/go-osuapi.v1" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" "zxq.co/x/getrank" ) diff --git a/app/websockets/identify.go b/app/websockets/identify.go index fba2e77..5ac7148 100644 --- a/app/websockets/identify.go +++ b/app/websockets/identify.go @@ -8,7 +8,7 @@ import ( "database/sql" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) type websocketUser struct { diff --git a/app/websockets/restricted_visibility.go b/app/websockets/restricted_visibility.go index 73be086..205c7a2 100644 --- a/app/websockets/restricted_visibility.go +++ b/app/websockets/restricted_visibility.go @@ -3,7 +3,7 @@ package websockets import ( "encoding/json" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) // SetRestrictedVisibility sets whether the information of restricted users diff --git a/app/websockets/scores.go b/app/websockets/scores.go index b14f22d..aa18ffd 100644 --- a/app/websockets/scores.go +++ b/app/websockets/scores.go @@ -7,8 +7,8 @@ import ( "sync" "gopkg.in/thehowl/go-osuapi.v1" - "github.com/osuYozora/api/app/v1" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/app/v1" + "github.com/osuyozora/api/common" "zxq.co/x/getrank" ) diff --git a/beatmapget/beatmapget.go b/beatmapget/beatmapget.go index 4bbd23a..3228b54 100644 --- a/beatmapget/beatmapget.go +++ b/beatmapget/beatmapget.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" "github.com/jmoiron/sqlx" "gopkg.in/thehowl/go-osuapi.v1" ) diff --git a/beatmapget/fullset.go b/beatmapget/fullset.go index 622bb31..b13d04f 100644 --- a/beatmapget/fullset.go +++ b/beatmapget/fullset.go @@ -5,7 +5,7 @@ import ( "errors" "time" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" "gopkg.in/thehowl/go-osuapi.v1" ) diff --git a/main.go b/main.go index 40189ac..a6eceab 100644 --- a/main.go +++ b/main.go @@ -7,9 +7,9 @@ import ( "syscall" "zxq.co/ripple/agplwarning" - "github.com/osuYozora/api/app" - "github.com/osuYozora/api/beatmapget" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/app" + "github.com/osuyozora/api/beatmapget" + "github.com/osuyozora/api/common" "zxq.co/ripple/schiavolib" // Golint pls dont break balls _ "github.com/go-sql-driver/mysql" diff --git a/startuato_linux.go b/startuato_linux.go index b652416..c188d55 100644 --- a/startuato_linux.go +++ b/startuato_linux.go @@ -10,7 +10,7 @@ import ( "github.com/rcrowley/goagain" "github.com/valyala/fasthttp" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" "zxq.co/ripple/schiavolib" ) diff --git a/startuato_windows.go b/startuato_windows.go index 2faef3d..9b70bfb 100644 --- a/startuato_windows.go +++ b/startuato_windows.go @@ -10,7 +10,7 @@ import ( "net" "github.com/valyala/fasthttp" - "github.com/osuYozora/api/common" + "github.com/osuyozora/api/common" ) func startuato(hn fasthttp.RequestHandler) { diff --git a/vendor/github.com/DataDog/datadog-go/statsd/statsd.go b/vendor/github.com/DataDog/datadog-go/statsd/statsd.go index 958aa44..9e3491e 100644 --- a/vendor/github.com/DataDog/datadog-go/statsd/statsd.go +++ b/vendor/github.com/DataDog/datadog-go/statsd/statsd.go @@ -286,7 +286,7 @@ func (c *Client) Timing(name string, value time.Duration, tags []string, rate fl } // TimeInMilliseconds sends timing information in milliseconds. -// It is flushed by statsd with percentiles, mean and other info (https://github.com/etsy/statsd/blob/master/docs/metric_types.md#timing) +// It is flushed by statsd with percentiles, mean and other info (.com/etsy/statsd/blob/master/docs/metric_types.md#timing) func (c *Client) TimeInMilliseconds(name string, value float64, tags []string, rate float64) error { stat := fmt.Sprintf("%f|ms", value) return c.send(name, stat, tags, rate) diff --git a/vendor/vendor.json b/vendor/vendor.json index f471178..581580a 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -213,5 +213,5 @@ "revisionTime": "2017-04-18T18:31:09Z" } ], - "rootPath": "github.com/osuYozora/api" + "rootPath": "github.com/osuyozora/api" }