Replace base module name from github.com/elyby/chrly to ely.by/chrly

This commit is contained in:
ErickSkrauch 2024-02-01 08:12:34 +01:00
parent 06afd17557
commit 11340289ad
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E
29 changed files with 49 additions and 49 deletions

View File

@ -68,7 +68,7 @@ jobs:
run: >
go build
-trimpath
-ldflags "-w -s -X github.com/elyby/chrly/internal/version.version=${{ steps.version.outputs.version }} -X github.com/elyby/chrly/internal/version.commit=${{ github.sha }}"
-ldflags "-w -s -X ely.by/chrly/internal/version.version=${{ steps.version.outputs.version }} -X ely.by/chrly/internal/version.commit=${{ github.sha }}"
-o ./chrly ./cmd/chrly/...
- name: Upload artifact

View File

@ -4,7 +4,7 @@ import (
"fmt"
"os"
. "github.com/elyby/chrly/internal/cmd"
. "ely.by/chrly/internal/cmd"
)
func main() {

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/elyby/chrly
module ely.by/chrly
go 1.21

View File

@ -8,9 +8,9 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/elyby/chrly/internal/di"
"github.com/elyby/chrly/internal/http"
"github.com/elyby/chrly/internal/version"
"ely.by/chrly/internal/di"
"ely.by/chrly/internal/http"
"ely.by/chrly/internal/version"
)
var RootCmd = &cobra.Command{

View File

@ -4,7 +4,7 @@ import (
"fmt"
"log"
"github.com/elyby/chrly/internal/http"
"ely.by/chrly/internal/http"
"github.com/spf13/cobra"
)

View File

@ -7,7 +7,7 @@ import (
"github.com/spf13/cobra"
"github.com/elyby/chrly/internal/version"
"ely.by/chrly/internal/version"
)
var versionCmd = &cobra.Command{

View File

@ -7,7 +7,7 @@ import (
"github.com/mediocregopher/radix/v4"
"github.com/elyby/chrly/internal/db"
"ely.by/chrly/internal/db"
)
const usernameToProfileKey = "hash:username-to-profile"

View File

@ -15,7 +15,7 @@ import (
assert "github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
"github.com/elyby/chrly/internal/db"
"ely.by/chrly/internal/db"
)
var redisAddr string

View File

@ -7,11 +7,11 @@ import (
"github.com/defval/di"
"github.com/spf13/viper"
db2 "github.com/elyby/chrly/internal/db"
"github.com/elyby/chrly/internal/db/redis"
es "github.com/elyby/chrly/internal/eventsubscribers"
"github.com/elyby/chrly/internal/mojang"
"github.com/elyby/chrly/internal/profiles"
db2 "ely.by/chrly/internal/db"
"ely.by/chrly/internal/db/redis"
es "ely.by/chrly/internal/eventsubscribers"
"ely.by/chrly/internal/mojang"
"ely.by/chrly/internal/profiles"
)
// v4 had the idea that it would be possible to separate backends for storing skins and capes.

View File

@ -4,9 +4,9 @@ import (
"github.com/defval/di"
"github.com/mono83/slf"
d "github.com/elyby/chrly/internal/dispatcher"
"github.com/elyby/chrly/internal/eventsubscribers"
"github.com/elyby/chrly/internal/http"
d "ely.by/chrly/internal/dispatcher"
"ely.by/chrly/internal/eventsubscribers"
"ely.by/chrly/internal/http"
)
var dispatcher = di.Options(

View File

@ -10,7 +10,7 @@ import (
"github.com/gorilla/mux"
"github.com/spf13/viper"
. "github.com/elyby/chrly/internal/http"
. "ely.by/chrly/internal/http"
)
var handlers = di.Options(

View File

@ -13,8 +13,8 @@ import (
"github.com/mono83/slf/wd"
"github.com/spf13/viper"
"github.com/elyby/chrly/internal/eventsubscribers"
"github.com/elyby/chrly/internal/version"
"ely.by/chrly/internal/eventsubscribers"
"ely.by/chrly/internal/version"
)
var logger = di.Options(

View File

@ -8,8 +8,8 @@ import (
"github.com/defval/di"
"github.com/spf13/viper"
"github.com/elyby/chrly/internal/mojang"
"github.com/elyby/chrly/internal/profiles"
"ely.by/chrly/internal/mojang"
"ely.by/chrly/internal/profiles"
)
var mojangTextures = di.Options(

View File

@ -3,8 +3,8 @@ package di
import (
"github.com/defval/di"
. "github.com/elyby/chrly/internal/http"
"github.com/elyby/chrly/internal/profiles"
. "ely.by/chrly/internal/http"
"ely.by/chrly/internal/profiles"
)
var profilesDi = di.Options(

View File

@ -11,7 +11,7 @@ import (
"github.com/getsentry/raven-go"
"github.com/spf13/viper"
. "github.com/elyby/chrly/internal/http"
. "ely.by/chrly/internal/http"
)
var server = di.Options(

View File

@ -7,8 +7,8 @@ import (
"errors"
"strings"
"github.com/elyby/chrly/internal/http"
. "github.com/elyby/chrly/internal/signer"
"ely.by/chrly/internal/http"
. "ely.by/chrly/internal/signer"
"github.com/defval/di"
"github.com/spf13/viper"

View File

@ -9,7 +9,7 @@ import (
"github.com/mono83/slf/params"
"github.com/stretchr/testify/mock"
"github.com/elyby/chrly/internal/dispatcher"
"ely.by/chrly/internal/dispatcher"
)
type LoggerMock struct {

View File

@ -8,7 +8,7 @@ import (
"github.com/mono83/slf"
"github.com/elyby/chrly/internal/dispatcher"
"ely.by/chrly/internal/dispatcher"
"github.com/stretchr/testify/mock"
)

View File

@ -1,6 +1,6 @@
package eventsubscribers
import "github.com/elyby/chrly/internal/dispatcher"
import "ely.by/chrly/internal/dispatcher"
type Subscriber interface {
dispatcher.Subscriber

View File

@ -6,8 +6,8 @@ import (
"github.com/gorilla/mux"
"github.com/elyby/chrly/internal/db"
"github.com/elyby/chrly/internal/profiles"
"ely.by/chrly/internal/db"
"ely.by/chrly/internal/profiles"
)
type ProfilesManager interface {

View File

@ -13,8 +13,8 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
"github.com/elyby/chrly/internal/db"
"github.com/elyby/chrly/internal/profiles"
"ely.by/chrly/internal/db"
"ely.by/chrly/internal/profiles"
)
type ProfilesManagerMock struct {

View File

@ -15,8 +15,8 @@ import (
"github.com/mono83/slf"
"github.com/mono83/slf/wd"
"github.com/elyby/chrly/internal/dispatcher"
v "github.com/elyby/chrly/internal/version"
"ely.by/chrly/internal/dispatcher"
v "ely.by/chrly/internal/version"
)
type Emitter interface {

View File

@ -12,9 +12,9 @@ import (
"github.com/gorilla/mux"
"github.com/elyby/chrly/internal/db"
"github.com/elyby/chrly/internal/mojang"
"github.com/elyby/chrly/internal/utils"
"ely.by/chrly/internal/db"
"ely.by/chrly/internal/mojang"
"ely.by/chrly/internal/utils"
)
var timeNow = time.Now

View File

@ -16,7 +16,7 @@ import (
testify "github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
"github.com/elyby/chrly/internal/db"
"ely.by/chrly/internal/db"
)
type ProfilesProviderMock struct {

View File

@ -5,7 +5,7 @@ import (
"sync"
"time"
"github.com/elyby/chrly/internal/utils"
"ely.by/chrly/internal/utils"
)
type BatchUuidsProvider struct {

View File

@ -7,7 +7,7 @@ import (
"github.com/go-playground/validator/v10"
"github.com/elyby/chrly/internal/db"
"ely.by/chrly/internal/db"
)
type ProfilesRepository interface {

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
"github.com/elyby/chrly/internal/db"
"ely.by/chrly/internal/db"
)
type ProfilesRepositoryMock struct {

View File

@ -3,8 +3,8 @@ package profiles
import (
"errors"
"github.com/elyby/chrly/internal/db"
"github.com/elyby/chrly/internal/mojang"
"ely.by/chrly/internal/db"
"ely.by/chrly/internal/mojang"
)
type ProfilesFinder interface {

View File

@ -8,9 +8,9 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/suite"
"github.com/elyby/chrly/internal/db"
"github.com/elyby/chrly/internal/mojang"
"github.com/elyby/chrly/internal/utils"
"ely.by/chrly/internal/db"
"ely.by/chrly/internal/mojang"
"ely.by/chrly/internal/utils"
)
type ProfilesFinderMock struct {