This commit is contained in:
Alicia
2019-02-25 21:04:55 +00:00
parent 303b248408
commit bd1b959836
42 changed files with 50 additions and 50 deletions
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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"}
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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"
)
+1 -1
View File
@@ -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 {
+5 -5
View File
@@ -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 (
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"encoding/json"
"github.com/valyala/fasthttp"
"github.com/osuYozora/api/common"
"github.com/osuyozora/api/common"
)
type response404 struct {
+1 -1
View File
@@ -3,7 +3,7 @@ package v1
import (
"database/sql"
"github.com/osuYozora/api/common"
"github.com/osuyozora/api/common"
)
type singleBadge struct {
+1 -1
View File
@@ -3,7 +3,7 @@ package v1
import (
"database/sql"
"github.com/osuYozora/api/common"
"github.com/osuyozora/api/common"
)
type difficulty struct {
+2 -2
View File
@@ -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 {
+1 -1
View File
@@ -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
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"fmt"
"sort"
"strconv"
"github.com/osuYozora/api/common"
"github.com/osuyozora/api/common"
)
type singleClan struct {
+1 -1
View File
@@ -3,7 +3,7 @@ package v1
import (
"strings"
"github.com/osuYozora/api/common"
"github.com/osuyozora/api/common"
)
// Boilerplate errors
+1 -1
View File
@@ -3,7 +3,7 @@ package v1
import (
"database/sql"
"github.com/osuYozora/api/common"
"github.com/osuyozora/api/common"
)
type friendData struct {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"time"
redis "gopkg.in/redis.v5"
"github.com/osuYozora/api/common"
"github.com/osuyozora/api/common"
)
type setAllowedData struct {
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"syscall"
"time"
"github.com/osuYozora/api/common"
"github.com/osuyozora/api/common"
)
// MetaRestartGET restarts the API with Zero Downtime™.
+1 -1
View File
@@ -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™.
+1 -1
View File
@@ -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()))
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"time"
"github.com/osuYozora/api/common"
"github.com/osuyozora/api/common"
)
type rapLogData struct {
+1 -1
View File
@@ -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"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package v1
import (
"strings"
"github.com/osuYozora/api/common"
"github.com/osuyozora/api/common"
"zxq.co/ripple/semantic-icons-ugc"
)
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/jmoiron/sqlx"
"github.com/osuYozora/api/common"
"github.com/osuyozora/api/common"
"zxq.co/ripple/schiavolib"
)
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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"
)
+1 -1
View File
@@ -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"
)
+1 -1
View File
@@ -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"
)
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"database/sql"
"github.com/osuYozora/api/common"
"github.com/osuyozora/api/common"
)
type websocketUser struct {
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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"
)