Skip to content

Commit

Permalink
Replace base module name from github.com/elyby/chrly to ely.by/chrly
Browse files Browse the repository at this point in the history
  • Loading branch information
erickskrauch committed Feb 1, 2024
1 parent 06afd17 commit 1134028
Show file tree
Hide file tree
Showing 29 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/chrly/chrly.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

. "github.com/elyby/chrly/internal/cmd"
. "ely.by/chrly/internal/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/elyby/chrly
module ely.by/chrly

go 1.21

Expand Down
6 changes: 3 additions & 3 deletions internal/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

"github.com/elyby/chrly/internal/http"
"ely.by/chrly/internal/http"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/spf13/cobra"

"github.com/elyby/chrly/internal/version"
"ely.by/chrly/internal/version"
)

var versionCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion internal/db/redis/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/db/redis/redis_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions internal/di/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions internal/di/dispatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion internal/di/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions internal/di/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions internal/di/mojang_textures.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions internal/di/profiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion internal/di/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions internal/di/signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/eventsubscribers/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/eventsubscribers/stats_reporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/eventsubscribers/subscriber.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package eventsubscribers

import "github.com/elyby/chrly/internal/dispatcher"
import "ely.by/chrly/internal/dispatcher"

type Subscriber interface {
dispatcher.Subscriber
Expand Down
4 changes: 2 additions & 2 deletions internal/http/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions internal/http/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions internal/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions internal/http/skinsystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion internal/http/skinsystem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/mojang/batch_uuids_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"sync"
"time"

"github.com/elyby/chrly/internal/utils"
"ely.by/chrly/internal/utils"
)

type BatchUuidsProvider struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/profiles/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/profiles/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions internal/profiles/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions internal/profiles/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1134028

Please sign in to comment.