mirror of
https://github.com/elyby/chrly.git
synced 2024-11-23 05:33:18 +05:30
Replace base module name from github.com/elyby/chrly to ely.by/chrly
This commit is contained in:
parent
06afd17557
commit
11340289ad
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
. "github.com/elyby/chrly/internal/cmd"
|
||||
. "ely.by/chrly/internal/cmd"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -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{
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/elyby/chrly/internal/http"
|
||||
"ely.by/chrly/internal/http"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/elyby/chrly/internal/version"
|
||||
"ely.by/chrly/internal/version"
|
||||
)
|
||||
|
||||
var versionCmd = &cobra.Command{
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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(
|
||||
|
@ -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(
|
||||
|
@ -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(
|
||||
|
@ -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(
|
||||
|
@ -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(
|
||||
|
@ -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(
|
||||
|
@ -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"
|
||||
|
@ -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 {
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
package eventsubscribers
|
||||
|
||||
import "github.com/elyby/chrly/internal/dispatcher"
|
||||
import "ely.by/chrly/internal/dispatcher"
|
||||
|
||||
type Subscriber interface {
|
||||
dispatcher.Subscriber
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/elyby/chrly/internal/utils"
|
||||
"ely.by/chrly/internal/utils"
|
||||
)
|
||||
|
||||
type BatchUuidsProvider struct {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user