Move from git.zxq.co to zxq.co

This commit is contained in:
Morgan Bazalgette 2017-01-14 18:06:16 +01:00
parent 62612cfdb8
commit 41ee4c90b3
33 changed files with 48 additions and 48 deletions

View File

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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

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

View File

@ -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

View File

@ -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"

View File

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

View File

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

View File

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

View File

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

View File

@ -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 {

View File

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

View File

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

View File

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

View File

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

View File

@ -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 {

View File

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

View File

@ -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™.

View File

@ -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™.

View File

@ -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()))

View File

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

View File

@ -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 {

View File

@ -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"
)

View File

@ -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 {

View File

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

View File

@ -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"
)

View File

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

View File

@ -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"

View File

@ -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"
)

View File

@ -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) {