Allow import straight from github
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"encoding/json"
|
||||
|
||||
"github.com/valyala/fasthttp"
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
type response404 struct {
|
||||
|
@@ -3,7 +3,7 @@ package v1
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
type singleBadge struct {
|
||||
|
@@ -3,7 +3,7 @@ package v1
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
type difficulty struct {
|
||||
|
@@ -6,8 +6,8 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"zxq.co/ripple/rippleapi/limit"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/limit"
|
||||
)
|
||||
|
||||
type rankRequestsStatusResponse struct {
|
||||
|
@@ -10,7 +10,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
// This basically proxies requests from Medium's API and is used on Ripple's
|
||||
|
@@ -3,7 +3,7 @@ package v1
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
// Boilerplate errors
|
||||
|
@@ -3,7 +3,7 @@ package v1
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
type friendData struct {
|
||||
|
@@ -9,8 +9,8 @@ import (
|
||||
|
||||
redis "gopkg.in/redis.v5"
|
||||
|
||||
"zxq.co/ripple/ocl"
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/ocl"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
type leaderboardUser struct {
|
||||
|
@@ -9,7 +9,7 @@ import (
|
||||
"time"
|
||||
|
||||
redis "gopkg.in/redis.v5"
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
type setAllowedData struct {
|
||||
|
@@ -13,7 +13,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
// MetaRestartGET restarts the API with Zero Downtime™.
|
||||
|
@@ -5,7 +5,7 @@ package v1
|
||||
import (
|
||||
"time"
|
||||
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
// MetaRestartGET restarts the API with Zero Downtime™.
|
||||
|
@@ -4,7 +4,7 @@ import (
|
||||
"math/rand"
|
||||
"time"
|
||||
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
var rn = rand.New(rand.NewSource(time.Now().UnixNano()))
|
||||
|
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
type rapLogData struct {
|
||||
|
@@ -8,7 +8,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"gopkg.in/thehowl/go-osuapi.v1"
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
"zxq.co/x/getrank"
|
||||
)
|
||||
|
||||
|
@@ -3,8 +3,8 @@ package v1
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"zxq.co/ripple/semantic-icons-ugc"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
"github.com/osuYozora/semantic-icons-ugc"
|
||||
)
|
||||
|
||||
type donorInfoResponse struct {
|
||||
|
@@ -11,8 +11,8 @@ import (
|
||||
|
||||
"github.com/jmoiron/sqlx"
|
||||
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"zxq.co/ripple/schiavolib"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
"github.com/osuYozora/schiavolib"
|
||||
)
|
||||
|
||||
// TokenSelfDeletePOST deletes the token the user is connecting with.
|
||||
|
@@ -8,8 +8,8 @@ import (
|
||||
"unicode"
|
||||
|
||||
"github.com/jmoiron/sqlx"
|
||||
"zxq.co/ripple/ocl"
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/ocl"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
type userData struct {
|
||||
|
@@ -6,7 +6,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/jmoiron/sqlx"
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
)
|
||||
|
||||
// Achievement represents an achievement in the database.
|
||||
|
@@ -5,7 +5,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"gopkg.in/thehowl/go-osuapi.v1"
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
"zxq.co/x/getrank"
|
||||
)
|
||||
|
||||
|
@@ -5,7 +5,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"gopkg.in/thehowl/go-osuapi.v1"
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
"zxq.co/x/getrank"
|
||||
)
|
||||
|
||||
|
@@ -5,7 +5,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"gopkg.in/thehowl/go-osuapi.v1"
|
||||
"zxq.co/ripple/rippleapi/common"
|
||||
"github.com/osuYozora/rippleapi/common"
|
||||
"zxq.co/x/getrank"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user