mirror of
https://github.com/elyby/chrly.git
synced 2024-11-23 05:33:18 +05:30
Completely rename project to the Chrly and make it ready to be opensourced
This commit is contained in:
parent
11647f2eae
commit
ce4dce49a2
@ -1,4 +1,4 @@
|
|||||||
ignored = ["elyby/minecraft-skinsystem"]
|
ignored = ["github.com/elyby/chrly"]
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
name = "github.com/gorilla/mux"
|
name = "github.com/gorilla/mux"
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/bootstrap"
|
"github.com/elyby/chrly/bootstrap"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
|
@ -4,14 +4,14 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/auth"
|
"github.com/elyby/chrly/auth"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/bootstrap"
|
"github.com/elyby/chrly/bootstrap"
|
||||||
"elyby/minecraft-skinsystem/db"
|
"github.com/elyby/chrly/db"
|
||||||
"elyby/minecraft-skinsystem/http"
|
"github.com/elyby/chrly/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
var serveCmd = &cobra.Command{
|
var serveCmd = &cobra.Command{
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/auth"
|
"github.com/elyby/chrly/auth"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"elyby/minecraft-skinsystem/bootstrap"
|
"github.com/elyby/chrly/bootstrap"
|
||||||
"runtime"
|
"runtime"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ package db
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/interfaces"
|
"github.com/elyby/chrly/interfaces"
|
||||||
)
|
)
|
||||||
|
|
||||||
type StorageFactory struct {
|
type StorageFactory struct {
|
||||||
|
@ -5,8 +5,8 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/interfaces"
|
"github.com/elyby/chrly/interfaces"
|
||||||
"elyby/minecraft-skinsystem/model"
|
"github.com/elyby/chrly/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
type FilesystemFactory struct {
|
type FilesystemFactory struct {
|
||||||
|
@ -14,8 +14,8 @@ import (
|
|||||||
"github.com/mediocregopher/radix.v2/redis"
|
"github.com/mediocregopher/radix.v2/redis"
|
||||||
"github.com/mediocregopher/radix.v2/util"
|
"github.com/mediocregopher/radix.v2/util"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/interfaces"
|
"github.com/elyby/chrly/interfaces"
|
||||||
"elyby/minecraft-skinsystem/model"
|
"github.com/elyby/chrly/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RedisFactory struct {
|
type RedisFactory struct {
|
||||||
|
@ -8,10 +8,10 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/auth"
|
"github.com/elyby/chrly/auth"
|
||||||
"elyby/minecraft-skinsystem/db"
|
"github.com/elyby/chrly/db"
|
||||||
"elyby/minecraft-skinsystem/interfaces"
|
"github.com/elyby/chrly/interfaces"
|
||||||
"elyby/minecraft-skinsystem/model"
|
"github.com/elyby/chrly/model"
|
||||||
|
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"github.com/mono83/slf/wd"
|
"github.com/mono83/slf/wd"
|
||||||
|
@ -10,8 +10,8 @@ import (
|
|||||||
"net/url"
|
"net/url"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/auth"
|
"github.com/elyby/chrly/auth"
|
||||||
"elyby/minecraft-skinsystem/db"
|
"github.com/elyby/chrly/db"
|
||||||
|
|
||||||
"github.com/golang/mock/gomock"
|
"github.com/golang/mock/gomock"
|
||||||
testify "github.com/stretchr/testify/assert"
|
testify "github.com/stretchr/testify/assert"
|
||||||
|
@ -11,8 +11,8 @@ import (
|
|||||||
"github.com/golang/mock/gomock"
|
"github.com/golang/mock/gomock"
|
||||||
testify "github.com/stretchr/testify/assert"
|
testify "github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/db"
|
"github.com/elyby/chrly/db"
|
||||||
"elyby/minecraft-skinsystem/model"
|
"github.com/elyby/chrly/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestConfig_Cape(t *testing.T) {
|
func TestConfig_Cape(t *testing.T) {
|
||||||
|
@ -13,7 +13,7 @@ import (
|
|||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"github.com/mono83/slf/wd"
|
"github.com/mono83/slf/wd"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/interfaces"
|
"github.com/elyby/chrly/interfaces"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
|
@ -6,8 +6,8 @@ import (
|
|||||||
"github.com/golang/mock/gomock"
|
"github.com/golang/mock/gomock"
|
||||||
testify "github.com/stretchr/testify/assert"
|
testify "github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/interfaces/mock_interfaces"
|
"github.com/elyby/chrly/interfaces/mock_interfaces"
|
||||||
"elyby/minecraft-skinsystem/interfaces/mock_wd"
|
"github.com/elyby/chrly/interfaces/mock_wd"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestParseUsername(t *testing.T) {
|
func TestParseUsername(t *testing.T) {
|
||||||
|
@ -8,7 +8,7 @@ import (
|
|||||||
"github.com/golang/mock/gomock"
|
"github.com/golang/mock/gomock"
|
||||||
testify "github.com/stretchr/testify/assert"
|
testify "github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/db"
|
"github.com/elyby/chrly/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestConfig_SignedTextures(t *testing.T) {
|
func TestConfig_SignedTextures(t *testing.T) {
|
||||||
|
@ -7,8 +7,8 @@ import (
|
|||||||
"github.com/golang/mock/gomock"
|
"github.com/golang/mock/gomock"
|
||||||
testify "github.com/stretchr/testify/assert"
|
testify "github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/db"
|
"github.com/elyby/chrly/db"
|
||||||
"elyby/minecraft-skinsystem/model"
|
"github.com/elyby/chrly/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestConfig_Skin(t *testing.T) {
|
func TestConfig_Skin(t *testing.T) {
|
||||||
|
@ -11,7 +11,7 @@ import (
|
|||||||
|
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/model"
|
"github.com/elyby/chrly/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
type texturesResponse struct {
|
type texturesResponse struct {
|
||||||
|
@ -10,8 +10,8 @@ import (
|
|||||||
"github.com/golang/mock/gomock"
|
"github.com/golang/mock/gomock"
|
||||||
testify "github.com/stretchr/testify/assert"
|
testify "github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"elyby/minecraft-skinsystem/db"
|
"github.com/elyby/chrly/db"
|
||||||
"elyby/minecraft-skinsystem/model"
|
"github.com/elyby/chrly/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestConfig_Textures(t *testing.T) {
|
func TestConfig_Textures(t *testing.T) {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package mock_interfaces
|
package mock_interfaces
|
||||||
|
|
||||||
import (
|
import (
|
||||||
model "elyby/minecraft-skinsystem/model"
|
model "github.com/elyby/chrly/model"
|
||||||
gomock "github.com/golang/mock/gomock"
|
gomock "github.com/golang/mock/gomock"
|
||||||
reflect "reflect"
|
reflect "reflect"
|
||||||
)
|
)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package interfaces
|
package interfaces
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"elyby/minecraft-skinsystem/model"
|
"github.com/elyby/chrly/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SkinsRepository interface {
|
type SkinsRepository interface {
|
||||||
|
Loading…
Reference in New Issue
Block a user