From ce4dce49a2a4a4068e9b1ef51153d65ddd38c674 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Fri, 16 Feb 2018 00:13:57 +0300 Subject: [PATCH] Completely rename project to the Chrly and make it ready to be opensourced --- Gopkg.toml | 2 +- cmd/root.go | 2 +- cmd/serve.go | 8 ++++---- cmd/token.go | 2 +- cmd/version.go | 2 +- db/factory.go | 2 +- db/filesystem.go | 4 ++-- db/redis.go | 4 ++-- http/api.go | 8 ++++---- http/api_test.go | 4 ++-- http/cape_test.go | 4 ++-- http/http.go | 2 +- http/http_test.go | 4 ++-- http/signed_textures_test.go | 2 +- http/skin_test.go | 4 ++-- http/textures.go | 2 +- http/textures_test.go | 4 ++-- interfaces/mock_interfaces/mock_interfaces.go | 2 +- interfaces/repositories.go | 2 +- main.go | 2 +- 20 files changed, 33 insertions(+), 33 deletions(-) diff --git a/Gopkg.toml b/Gopkg.toml index 9e6ac7d..868b732 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -1,4 +1,4 @@ -ignored = ["elyby/minecraft-skinsystem"] +ignored = ["github.com/elyby/chrly"] [[constraint]] name = "github.com/gorilla/mux" diff --git a/cmd/root.go b/cmd/root.go index de5fcf5..5b973bd 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -5,7 +5,7 @@ import ( "os" "strings" - "elyby/minecraft-skinsystem/bootstrap" + "github.com/elyby/chrly/bootstrap" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/serve.go b/cmd/serve.go index 689afbc..32794eb 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -4,14 +4,14 @@ import ( "fmt" "log" - "elyby/minecraft-skinsystem/auth" + "github.com/elyby/chrly/auth" "github.com/spf13/cobra" "github.com/spf13/viper" - "elyby/minecraft-skinsystem/bootstrap" - "elyby/minecraft-skinsystem/db" - "elyby/minecraft-skinsystem/http" + "github.com/elyby/chrly/bootstrap" + "github.com/elyby/chrly/db" + "github.com/elyby/chrly/http" ) var serveCmd = &cobra.Command{ diff --git a/cmd/token.go b/cmd/token.go index b74829e..2380d36 100644 --- a/cmd/token.go +++ b/cmd/token.go @@ -4,7 +4,7 @@ import ( "fmt" "log" - "elyby/minecraft-skinsystem/auth" + "github.com/elyby/chrly/auth" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/version.go b/cmd/version.go index 6b50b39..e1196fe 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/spf13/cobra" - "elyby/minecraft-skinsystem/bootstrap" + "github.com/elyby/chrly/bootstrap" "runtime" ) diff --git a/db/factory.go b/db/factory.go index 62eaba5..93f88c8 100644 --- a/db/factory.go +++ b/db/factory.go @@ -3,7 +3,7 @@ package db import ( "github.com/spf13/viper" - "elyby/minecraft-skinsystem/interfaces" + "github.com/elyby/chrly/interfaces" ) type StorageFactory struct { diff --git a/db/filesystem.go b/db/filesystem.go index 376c167..cbc6251 100644 --- a/db/filesystem.go +++ b/db/filesystem.go @@ -5,8 +5,8 @@ import ( "path" "strings" - "elyby/minecraft-skinsystem/interfaces" - "elyby/minecraft-skinsystem/model" + "github.com/elyby/chrly/interfaces" + "github.com/elyby/chrly/model" ) type FilesystemFactory struct { diff --git a/db/redis.go b/db/redis.go index e3e9d70..08f1359 100644 --- a/db/redis.go +++ b/db/redis.go @@ -14,8 +14,8 @@ import ( "github.com/mediocregopher/radix.v2/redis" "github.com/mediocregopher/radix.v2/util" - "elyby/minecraft-skinsystem/interfaces" - "elyby/minecraft-skinsystem/model" + "github.com/elyby/chrly/interfaces" + "github.com/elyby/chrly/model" ) type RedisFactory struct { diff --git a/http/api.go b/http/api.go index f81c6e3..ac737f1 100644 --- a/http/api.go +++ b/http/api.go @@ -8,10 +8,10 @@ import ( "regexp" "strconv" - "elyby/minecraft-skinsystem/auth" - "elyby/minecraft-skinsystem/db" - "elyby/minecraft-skinsystem/interfaces" - "elyby/minecraft-skinsystem/model" + "github.com/elyby/chrly/auth" + "github.com/elyby/chrly/db" + "github.com/elyby/chrly/interfaces" + "github.com/elyby/chrly/model" "github.com/gorilla/mux" "github.com/mono83/slf/wd" diff --git a/http/api_test.go b/http/api_test.go index 34fc532..e0f2fee 100644 --- a/http/api_test.go +++ b/http/api_test.go @@ -10,8 +10,8 @@ import ( "net/url" "testing" - "elyby/minecraft-skinsystem/auth" - "elyby/minecraft-skinsystem/db" + "github.com/elyby/chrly/auth" + "github.com/elyby/chrly/db" "github.com/golang/mock/gomock" testify "github.com/stretchr/testify/assert" diff --git a/http/cape_test.go b/http/cape_test.go index 1d3de99..fe20a48 100644 --- a/http/cape_test.go +++ b/http/cape_test.go @@ -11,8 +11,8 @@ import ( "github.com/golang/mock/gomock" testify "github.com/stretchr/testify/assert" - "elyby/minecraft-skinsystem/db" - "elyby/minecraft-skinsystem/model" + "github.com/elyby/chrly/db" + "github.com/elyby/chrly/model" ) func TestConfig_Cape(t *testing.T) { diff --git a/http/http.go b/http/http.go index 41d6662..a539a15 100644 --- a/http/http.go +++ b/http/http.go @@ -13,7 +13,7 @@ import ( "github.com/gorilla/mux" "github.com/mono83/slf/wd" - "elyby/minecraft-skinsystem/interfaces" + "github.com/elyby/chrly/interfaces" ) type Config struct { diff --git a/http/http_test.go b/http/http_test.go index 45fdac3..884899a 100644 --- a/http/http_test.go +++ b/http/http_test.go @@ -6,8 +6,8 @@ import ( "github.com/golang/mock/gomock" testify "github.com/stretchr/testify/assert" - "elyby/minecraft-skinsystem/interfaces/mock_interfaces" - "elyby/minecraft-skinsystem/interfaces/mock_wd" + "github.com/elyby/chrly/interfaces/mock_interfaces" + "github.com/elyby/chrly/interfaces/mock_wd" ) func TestParseUsername(t *testing.T) { diff --git a/http/signed_textures_test.go b/http/signed_textures_test.go index 3a3a9bf..41934f5 100644 --- a/http/signed_textures_test.go +++ b/http/signed_textures_test.go @@ -8,7 +8,7 @@ import ( "github.com/golang/mock/gomock" testify "github.com/stretchr/testify/assert" - "elyby/minecraft-skinsystem/db" + "github.com/elyby/chrly/db" ) func TestConfig_SignedTextures(t *testing.T) { diff --git a/http/skin_test.go b/http/skin_test.go index c58585d..1540171 100644 --- a/http/skin_test.go +++ b/http/skin_test.go @@ -7,8 +7,8 @@ import ( "github.com/golang/mock/gomock" testify "github.com/stretchr/testify/assert" - "elyby/minecraft-skinsystem/db" - "elyby/minecraft-skinsystem/model" + "github.com/elyby/chrly/db" + "github.com/elyby/chrly/model" ) func TestConfig_Skin(t *testing.T) { diff --git a/http/textures.go b/http/textures.go index aa58529..a07e0c8 100644 --- a/http/textures.go +++ b/http/textures.go @@ -11,7 +11,7 @@ import ( "github.com/gorilla/mux" - "elyby/minecraft-skinsystem/model" + "github.com/elyby/chrly/model" ) type texturesResponse struct { diff --git a/http/textures_test.go b/http/textures_test.go index 9fdbe09..c4c879f 100644 --- a/http/textures_test.go +++ b/http/textures_test.go @@ -10,8 +10,8 @@ import ( "github.com/golang/mock/gomock" testify "github.com/stretchr/testify/assert" - "elyby/minecraft-skinsystem/db" - "elyby/minecraft-skinsystem/model" + "github.com/elyby/chrly/db" + "github.com/elyby/chrly/model" ) func TestConfig_Textures(t *testing.T) { diff --git a/interfaces/mock_interfaces/mock_interfaces.go b/interfaces/mock_interfaces/mock_interfaces.go index 78744c4..846ec92 100644 --- a/interfaces/mock_interfaces/mock_interfaces.go +++ b/interfaces/mock_interfaces/mock_interfaces.go @@ -4,7 +4,7 @@ package mock_interfaces import ( - model "elyby/minecraft-skinsystem/model" + model "github.com/elyby/chrly/model" gomock "github.com/golang/mock/gomock" reflect "reflect" ) diff --git a/interfaces/repositories.go b/interfaces/repositories.go index 5fdca61..05d2df5 100644 --- a/interfaces/repositories.go +++ b/interfaces/repositories.go @@ -1,7 +1,7 @@ package interfaces import ( - "elyby/minecraft-skinsystem/model" + "github.com/elyby/chrly/model" ) type SkinsRepository interface { diff --git a/main.go b/main.go index 5640a87..1a95996 100644 --- a/main.go +++ b/main.go @@ -3,7 +3,7 @@ package main import ( "runtime" - "elyby/minecraft-skinsystem/cmd" + "github.com/elyby/chrly/cmd" ) func main() {