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" "regexp"
"strings" "strings"
"git.zxq.co/ripple/rippleapi/common" "zxq.co/ripple/rippleapi/common"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
) )

View File

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

View File

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

View File

@ -5,9 +5,9 @@ import (
"strconv" "strconv"
"strings" "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/gin-gonic/gin"
"github.com/jmoiron/sqlx" "github.com/jmoiron/sqlx"
"gopkg.in/thehowl/go-osuapi.v1" "gopkg.in/thehowl/go-osuapi.v1"

View File

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

View File

@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"strings" "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/gin-gonic/gin"
"github.com/jmoiron/sqlx" "github.com/jmoiron/sqlx"
"gopkg.in/thehowl/go-osuapi.v1" "gopkg.in/thehowl/go-osuapi.v1"

View File

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

View File

@ -18,7 +18,7 @@ func Recovery(client *raven.Client, onlyCrashes bool) gin.HandlerFunc {
var requestBody []byte var requestBody []byte
defer func() { 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") tokenRaw, ex := c.Get("token")
var token string var token string

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -8,8 +8,8 @@ import (
"github.com/jmoiron/sqlx" "github.com/jmoiron/sqlx"
"git.zxq.co/ripple/ocl" "zxq.co/ripple/ocl"
"git.zxq.co/ripple/rippleapi/common" "zxq.co/ripple/rippleapi/common"
) )
type userData struct { type userData struct {

View File

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

View File

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

View File

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

View File

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

View File

@ -9,8 +9,8 @@ import (
"fmt" "fmt"
"time" "time"
"git.zxq.co/ripple/schiavolib" "zxq.co/ripple/schiavolib"
"git.zxq.co/ripple/rippleapi/common" "zxq.co/ripple/rippleapi/common"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/rcrowley/goagain" "github.com/rcrowley/goagain"
) )

View File

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