Browse Source

Move from git.zxq.co to zxq.co

oauth2
Morgan Bazalgette 2 years ago
parent
commit
41ee4c90b3

+ 1
- 1
app/method.go View File

@@ -9,7 +9,7 @@ import (
9 9
 	"regexp"
10 10
 	"strings"
11 11
 
12
-	"git.zxq.co/ripple/rippleapi/common"
12
+	"zxq.co/ripple/rippleapi/common"
13 13
 	"github.com/gin-gonic/gin"
14 14
 )
15 15
 

+ 1
- 1
app/peppy/beatmap.go View File

@@ -4,7 +4,7 @@ import (
4 4
 	"strconv"
5 5
 	"strings"
6 6
 
7
-	"git.zxq.co/ripple/rippleapi/common"
7
+	"zxq.co/ripple/rippleapi/common"
8 8
 	"github.com/gin-gonic/gin"
9 9
 	"github.com/jmoiron/sqlx"
10 10
 	"github.com/thehowl/go-osuapi"

+ 1
- 1
app/peppy/common.go View File

@@ -4,7 +4,7 @@ import (
4 4
 	"database/sql"
5 5
 	"strconv"
6 6
 
7
-	"git.zxq.co/ripple/rippleapi/common"
7
+	"zxq.co/ripple/rippleapi/common"
8 8
 
9 9
 	"github.com/gin-gonic/gin"
10 10
 	"github.com/jmoiron/sqlx"

+ 2
- 2
app/peppy/score.go View File

@@ -5,9 +5,9 @@ import (
5 5
 	"strconv"
6 6
 	"strings"
7 7
 
8
-	"git.zxq.co/ripple/rippleapi/common"
8
+	"zxq.co/ripple/rippleapi/common"
9 9
 
10
-	"git.zxq.co/x/getrank"
10
+	"zxq.co/x/getrank"
11 11
 	"github.com/gin-gonic/gin"
12 12
 	"github.com/jmoiron/sqlx"
13 13
 	"gopkg.in/thehowl/go-osuapi.v1"

+ 1
- 1
app/peppy/user.go View File

@@ -5,7 +5,7 @@ import (
5 5
 	"database/sql"
6 6
 	"fmt"
7 7
 
8
-	"git.zxq.co/ripple/ocl"
8
+	"zxq.co/ripple/ocl"
9 9
 	"github.com/gin-gonic/gin"
10 10
 	"github.com/jmoiron/sqlx"
11 11
 	"github.com/thehowl/go-osuapi"

+ 2
- 2
app/peppy/user_x.go View File

@@ -4,8 +4,8 @@ import (
4 4
 	"fmt"
5 5
 	"strings"
6 6
 
7
-	"git.zxq.co/ripple/rippleapi/common"
8
-	"git.zxq.co/x/getrank"
7
+	"zxq.co/ripple/rippleapi/common"
8
+	"zxq.co/x/getrank"
9 9
 	"github.com/gin-gonic/gin"
10 10
 	"github.com/jmoiron/sqlx"
11 11
 	"gopkg.in/thehowl/go-osuapi.v1"

+ 1
- 1
app/rate_limiter.go View File

@@ -4,7 +4,7 @@ import (
4 4
 	"strconv"
5 5
 	"time"
6 6
 
7
-	"git.zxq.co/ripple/rippleapi/limit"
7
+	"zxq.co/ripple/rippleapi/limit"
8 8
 )
9 9
 
10 10
 const reqsPerSecond = 5000

+ 1
- 1
app/recovery.go View File

@@ -18,7 +18,7 @@ func Recovery(client *raven.Client, onlyCrashes bool) gin.HandlerFunc {
18 18
 		var requestBody []byte
19 19
 
20 20
 		defer func() {
21
-			st := raven.NewStacktrace(0, 3, []string{"git.zxq.co/ripple"})
21
+			st := raven.NewStacktrace(0, 3, []string{"zxq.co/ripple"})
22 22
 
23 23
 			tokenRaw, ex := c.Get("token")
24 24
 			var token string

+ 4
- 4
app/start.go View File

@@ -3,10 +3,10 @@ package app
3 3
 import (
4 4
 	"fmt"
5 5
 
6
-	"git.zxq.co/ripple/rippleapi/app/internals"
7
-	"git.zxq.co/ripple/rippleapi/app/peppy"
8
-	"git.zxq.co/ripple/rippleapi/app/v1"
9
-	"git.zxq.co/ripple/rippleapi/common"
6
+	"zxq.co/ripple/rippleapi/app/internals"
7
+	"zxq.co/ripple/rippleapi/app/peppy"
8
+	"zxq.co/ripple/rippleapi/app/v1"
9
+	"zxq.co/ripple/rippleapi/common"
10 10
 	"github.com/DataDog/datadog-go/statsd"
11 11
 	"github.com/getsentry/raven-go"
12 12
 	"github.com/gin-gonic/contrib/gzip"

+ 1
- 1
app/tokens.go View File

@@ -6,7 +6,7 @@ import (
6 6
 	"fmt"
7 7
 	"time"
8 8
 
9
-	"git.zxq.co/ripple/rippleapi/common"
9
+	"zxq.co/ripple/rippleapi/common"
10 10
 	"github.com/jmoiron/sqlx"
11 11
 )
12 12
 

+ 1
- 1
app/v1/404.go View File

@@ -1,7 +1,7 @@
1 1
 package v1
2 2
 
3 3
 import (
4
-	"git.zxq.co/ripple/rippleapi/common"
4
+	"zxq.co/ripple/rippleapi/common"
5 5
 	"github.com/gin-gonic/gin"
6 6
 )
7 7
 

+ 1
- 1
app/v1/badge.go View File

@@ -3,7 +3,7 @@ package v1
3 3
 import (
4 4
 	"database/sql"
5 5
 
6
-	"git.zxq.co/ripple/rippleapi/common"
6
+	"zxq.co/ripple/rippleapi/common"
7 7
 )
8 8
 
9 9
 type singleBadge struct {

+ 1
- 1
app/v1/beatmap.go View File

@@ -5,7 +5,7 @@ import (
5 5
 	"fmt"
6 6
 	"net/url"
7 7
 
8
-	"git.zxq.co/ripple/rippleapi/common"
8
+	"zxq.co/ripple/rippleapi/common"
9 9
 )
10 10
 
11 11
 type difficulty struct {

+ 2
- 2
app/v1/beatmap_requests.go View File

@@ -6,8 +6,8 @@ import (
6 6
 	"strconv"
7 7
 	"time"
8 8
 
9
-	"git.zxq.co/ripple/rippleapi/common"
10
-	"git.zxq.co/ripple/rippleapi/limit"
9
+	"zxq.co/ripple/rippleapi/common"
10
+	"zxq.co/ripple/rippleapi/limit"
11 11
 )
12 12
 
13 13
 type rankRequestsStatusResponse struct {

+ 1
- 1
app/v1/blog.go View File

@@ -3,7 +3,7 @@ package v1
3 3
 import (
4 4
 	"time"
5 5
 
6
-	"git.zxq.co/ripple/rippleapi/common"
6
+	"zxq.co/ripple/rippleapi/common"
7 7
 )
8 8
 
9 9
 type blogPost struct {

+ 1
- 1
app/v1/doc.go View File

@@ -3,7 +3,7 @@ package v1
3 3
 import (
4 4
 	"database/sql"
5 5
 
6
-	"git.zxq.co/ripple/rippleapi/common"
6
+	"zxq.co/ripple/rippleapi/common"
7 7
 )
8 8
 
9 9
 type docFile struct {

+ 1
- 1
app/v1/errors.go View File

@@ -3,7 +3,7 @@ package v1
3 3
 import (
4 4
 	"strings"
5 5
 
6
-	"git.zxq.co/ripple/rippleapi/common"
6
+	"zxq.co/ripple/rippleapi/common"
7 7
 )
8 8
 
9 9
 // Boilerplate errors

+ 1
- 1
app/v1/friend.go View File

@@ -3,7 +3,7 @@ package v1
3 3
 import (
4 4
 	"database/sql"
5 5
 
6
-	"git.zxq.co/ripple/rippleapi/common"
6
+	"zxq.co/ripple/rippleapi/common"
7 7
 )
8 8
 
9 9
 type friendData struct {

+ 2
- 2
app/v1/leaderboard.go View File

@@ -3,8 +3,8 @@ package v1
3 3
 import (
4 4
 	"fmt"
5 5
 
6
-	"git.zxq.co/ripple/ocl"
7
-	"git.zxq.co/ripple/rippleapi/common"
6
+	"zxq.co/ripple/ocl"
7
+	"zxq.co/ripple/rippleapi/common"
8 8
 )
9 9
 
10 10
 type leaderboardUser struct {

+ 1
- 1
app/v1/manage_user.go View File

@@ -3,7 +3,7 @@ package v1
3 3
 import (
4 4
 	"time"
5 5
 
6
-	"git.zxq.co/ripple/rippleapi/common"
6
+	"zxq.co/ripple/rippleapi/common"
7 7
 )
8 8
 
9 9
 type setAllowedData struct {

+ 1
- 1
app/v1/meta_linux.go View File

@@ -14,7 +14,7 @@ import (
14 14
 	"syscall"
15 15
 	"time"
16 16
 
17
-	"git.zxq.co/ripple/rippleapi/common"
17
+	"zxq.co/ripple/rippleapi/common"
18 18
 )
19 19
 
20 20
 // MetaRestartGET restarts the API with Zero Downtime™.

+ 1
- 1
app/v1/meta_windows.go View File

@@ -5,7 +5,7 @@ package v1
5 5
 import (
6 6
 	"time"
7 7
 
8
-	"git.zxq.co/ripple/rippleapi/common"
8
+	"zxq.co/ripple/rippleapi/common"
9 9
 )
10 10
 
11 11
 // MetaRestartGET restarts the API with Zero Downtime™.

+ 1
- 1
app/v1/ping.go View File

@@ -4,7 +4,7 @@ import (
4 4
 	"math/rand"
5 5
 	"time"
6 6
 
7
-	"git.zxq.co/ripple/rippleapi/common"
7
+	"zxq.co/ripple/rippleapi/common"
8 8
 )
9 9
 
10 10
 var rn = rand.New(rand.NewSource(time.Now().UnixNano()))

+ 1
- 1
app/v1/score.go View File

@@ -5,7 +5,7 @@ import (
5 5
 	"fmt"
6 6
 	"strconv"
7 7
 
8
-	"git.zxq.co/ripple/rippleapi/common"
8
+	"zxq.co/ripple/rippleapi/common"
9 9
 )
10 10
 
11 11
 type score struct {

+ 2
- 2
app/v1/self.go View File

@@ -3,8 +3,8 @@ package v1
3 3
 import (
4 4
 	"strings"
5 5
 
6
-	"git.zxq.co/ripple/rippleapi/common"
7
-	"git.zxq.co/ripple/semantic-icons-ugc"
6
+	"zxq.co/ripple/rippleapi/common"
7
+	"zxq.co/ripple/semantic-icons-ugc"
8 8
 )
9 9
 
10 10
 type donorInfoResponse struct {

+ 3
- 3
app/v1/token.go View File

@@ -8,9 +8,9 @@ import (
8 8
 
9 9
 	"github.com/jmoiron/sqlx"
10 10
 
11
-	"git.zxq.co/ripple/rippleapi/common"
12
-	"git.zxq.co/ripple/rippleapi/limit"
13
-	"git.zxq.co/ripple/schiavolib"
11
+	"zxq.co/ripple/rippleapi/common"
12
+	"zxq.co/ripple/rippleapi/limit"
13
+	"zxq.co/ripple/schiavolib"
14 14
 	"golang.org/x/crypto/bcrypt"
15 15
 )
16 16
 

+ 2
- 2
app/v1/user.go View File

@@ -8,8 +8,8 @@ import (
8 8
 
9 9
 	"github.com/jmoiron/sqlx"
10 10
 
11
-	"git.zxq.co/ripple/ocl"
12
-	"git.zxq.co/ripple/rippleapi/common"
11
+	"zxq.co/ripple/ocl"
12
+	"zxq.co/ripple/rippleapi/common"
13 13
 )
14 14
 
15 15
 type userData struct {

+ 1
- 1
app/v1/user_scores.go View File

@@ -3,7 +3,7 @@ package v1
3 3
 import (
4 4
 	"fmt"
5 5
 
6
-	"git.zxq.co/ripple/rippleapi/common"
6
+	"zxq.co/ripple/rippleapi/common"
7 7
 )
8 8
 
9 9
 type userScore struct {

+ 1
- 1
beatmapget/beatmapget.go View File

@@ -10,7 +10,7 @@ import (
10 10
 	"strings"
11 11
 	"time"
12 12
 
13
-	"git.zxq.co/ripple/rippleapi/common"
13
+	"zxq.co/ripple/rippleapi/common"
14 14
 	"github.com/jmoiron/sqlx"
15 15
 	"gopkg.in/thehowl/go-osuapi.v1"
16 16
 )

+ 1
- 1
beatmapget/fullset.go View File

@@ -5,7 +5,7 @@ import (
5 5
 	"errors"
6 6
 	"time"
7 7
 
8
-	"git.zxq.co/ripple/rippleapi/common"
8
+	"zxq.co/ripple/rippleapi/common"
9 9
 	"gopkg.in/thehowl/go-osuapi.v1"
10 10
 )
11 11
 

+ 4
- 4
main.go View File

@@ -6,10 +6,10 @@ import (
6 6
 	"strings"
7 7
 	"syscall"
8 8
 
9
-	"git.zxq.co/ripple/rippleapi/app"
10
-	"git.zxq.co/ripple/rippleapi/beatmapget"
11
-	"git.zxq.co/ripple/rippleapi/common"
12
-	"git.zxq.co/ripple/schiavolib"
9
+	"zxq.co/ripple/rippleapi/app"
10
+	"zxq.co/ripple/rippleapi/beatmapget"
11
+	"zxq.co/ripple/rippleapi/common"
12
+	"zxq.co/ripple/schiavolib"
13 13
 	// Golint pls dont break balls
14 14
 	_ "github.com/go-sql-driver/mysql"
15 15
 	"github.com/jmoiron/sqlx"

+ 2
- 2
startuato_linux.go View File

@@ -9,8 +9,8 @@ import (
9 9
 	"fmt"
10 10
 	"time"
11 11
 
12
-	"git.zxq.co/ripple/schiavolib"
13
-	"git.zxq.co/ripple/rippleapi/common"
12
+	"zxq.co/ripple/schiavolib"
13
+	"zxq.co/ripple/rippleapi/common"
14 14
 	"github.com/gin-gonic/gin"
15 15
 	"github.com/rcrowley/goagain"
16 16
 )

+ 1
- 1
startuato_windows.go View File

@@ -8,7 +8,7 @@ import (
8 8
 	"net/http"
9 9
 
10 10
 	"github.com/gin-gonic/gin"
11
-	"git.zxq.co/ripple/rippleapi/common"
11
+	"zxq.co/ripple/rippleapi/common"
12 12
 )
13 13
 
14 14
 func startuato(engine *gin.Engine) {

Loading…
Cancel
Save