Skip to content

Commit

Permalink
chore: change github username
Browse files Browse the repository at this point in the history
  • Loading branch information
mgjules committed Apr 12, 2022
1 parent 582f2f6 commit be2aaad
Show file tree
Hide file tree
Showing 18 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ linters-settings:
# put imports beginning with prefix after 3rd-party packages;
# only support one prefix
# if not set, use goimports.local-prefixes
# local-prefixes: github.com/JulesMike/spoty
# local-prefixes: github.com/mgjules/spoty

# gocognit:
# # minimal code complexity to report, 30 by default (but we recommend 10-20)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# spoty 🎵

[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=for-the-badge)](https://godoc.org/github.com/JulesMike/spoty)
[![Release](https://img.shields.io/github/release/JulesMike/spoty.svg?style=for-the-badge)](https://github.com/JulesMike/spoty/releases/latest)
[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=for-the-badge)](https://godoc.org/github.com/mgjules/spoty)
[![Release](https://img.shields.io/github/release/JulesMike/spoty.svg?style=for-the-badge)](https://github.com/mgjules/spoty/releases/latest)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=for-the-badge)](https://conventionalcommits.org)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=for-the-badge)](LICENSE)

Expand All @@ -16,7 +16,7 @@ Spoty provides simple REST API endpoints to query the current playing track on [

## Getting started

1. Download the corresponding binary for your operating system and architecture from the [releases](https://github.com/JulesMike/spoty/releases) page.
1. Download the corresponding binary for your operating system and architecture from the [releases](https://github.com/mgjules/spoty/releases) page.

2. Create a Spotify application [here](https://developer.spotify.com/dashboard/applications).

Expand Down
4 changes: 2 additions & 2 deletions cache/cache.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package cache

import (
"github.com/JulesMike/spoty/config"
"github.com/JulesMike/spoty/json"
"github.com/dgraph-io/ristretto"
"github.com/mgjules/spoty/config"
"github.com/mgjules/spoty/json"
"go.uber.org/fx"
)

Expand Down
18 changes: 9 additions & 9 deletions cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ package cmd
import (
"context"

"github.com/JulesMike/spoty/build"
"github.com/JulesMike/spoty/cache"
"github.com/JulesMike/spoty/config"
"github.com/JulesMike/spoty/health"
"github.com/JulesMike/spoty/logger"
"github.com/JulesMike/spoty/spoty"
"github.com/JulesMike/spoty/tracer"
"github.com/JulesMike/spoty/transport/http"
"github.com/JulesMike/spoty/transport/messenger"
"github.com/mgjules/spoty/build"
"github.com/mgjules/spoty/cache"
"github.com/mgjules/spoty/config"
"github.com/mgjules/spoty/health"
"github.com/mgjules/spoty/logger"
"github.com/mgjules/spoty/spoty"
"github.com/mgjules/spoty/tracer"
"github.com/mgjules/spoty/transport/http"
"github.com/mgjules/spoty/transport/messenger"
"github.com/spf13/cobra"
"go.uber.org/fx"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/JulesMike/spoty/build"
"github.com/mgjules/spoty/build"
"github.com/spf13/cobra"
)

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/JulesMike/spoty
module github.com/mgjules/spoty

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"io"

"github.com/JulesMike/spoty/config"
"github.com/mgjules/spoty/config"
"github.com/uptrace/opentelemetry-go-extra/otelzap"
"go.uber.org/fx"
"go.uber.org/zap"
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/JulesMike/spoty/cmd"
"github.com/mgjules/spoty/cmd"
)

// @title Spoty API
Expand Down
10 changes: 5 additions & 5 deletions spoty/spoty.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ import (
"sync"
"time"

"github.com/JulesMike/spoty/cache"
"github.com/JulesMike/spoty/config"
"github.com/JulesMike/spoty/health"
"github.com/JulesMike/spoty/logger"
"github.com/JulesMike/spoty/tracer"
"github.com/cenkalti/dominantcolor"
"github.com/google/uuid"
"github.com/iancoleman/strcase"
"github.com/mgjules/spoty/cache"
"github.com/mgjules/spoty/config"
"github.com/mgjules/spoty/health"
"github.com/mgjules/spoty/logger"
"github.com/mgjules/spoty/tracer"
"github.com/zmb3/spotify"
"go.uber.org/fx"
)
Expand Down
2 changes: 1 addition & 1 deletion tracer/tracer.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package tracer

import (
"github.com/JulesMike/spoty/config"
"github.com/mgjules/spoty/config"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/exporters/jaeger"
Expand Down
4 changes: 2 additions & 2 deletions transport/http/client.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package http

import (
"github.com/JulesMike/spoty/config"
"github.com/JulesMike/spoty/json"
"github.com/go-resty/resty/v2"
"github.com/mgjules/spoty/config"
"github.com/mgjules/spoty/json"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/propagation"
)
Expand Down
2 changes: 1 addition & 1 deletion transport/http/errors.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package http

import "github.com/JulesMike/spoty/json"
import "github.com/mgjules/spoty/json"

// Error represents a problem details object as described in RFC 7807.
type Error struct {
Expand Down
2 changes: 1 addition & 1 deletion transport/http/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package http
import (
"net/http"

"github.com/JulesMike/spoty/docs"
ahealth "github.com/alexliesenfeld/health"
"github.com/gin-gonic/gin"
"github.com/mgjules/spoty/docs"
ginSwagger "github.com/swaggo/gin-swagger"
"github.com/swaggo/gin-swagger/swaggerFiles"
)
Expand Down
12 changes: 6 additions & 6 deletions transport/http/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import (
"net/http"
"time"

"github.com/JulesMike/spoty/build"
"github.com/JulesMike/spoty/config"
"github.com/JulesMike/spoty/health"
"github.com/JulesMike/spoty/logger"
"github.com/JulesMike/spoty/spoty"
"github.com/JulesMike/spoty/tracer"
ginzap "github.com/gin-contrib/zap"
"github.com/gin-gonic/gin"
"github.com/mgjules/spoty/build"
"github.com/mgjules/spoty/config"
"github.com/mgjules/spoty/health"
"github.com/mgjules/spoty/logger"
"github.com/mgjules/spoty/spoty"
"github.com/mgjules/spoty/tracer"
"go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin"
"go.uber.org/fx"
)
Expand Down
6 changes: 3 additions & 3 deletions transport/messenger/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (
"fmt"
"time"

"github.com/JulesMike/spoty/config"
"github.com/JulesMike/spoty/health"
"github.com/JulesMike/spoty/logger"
"github.com/ThreeDotsLabs/watermill"
"github.com/ThreeDotsLabs/watermill-amqp/v2/pkg/amqp"
"github.com/ThreeDotsLabs/watermill/message"
"github.com/ThreeDotsLabs/watermill/pubsub/gochannel"
"github.com/mgjules/spoty/config"
"github.com/mgjules/spoty/health"
"github.com/mgjules/spoty/logger"
)

// Publisher is a wrapper for amqp.Publisher.
Expand Down
6 changes: 3 additions & 3 deletions transport/messenger/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"fmt"
"time"

"github.com/JulesMike/spoty/config"
"github.com/JulesMike/spoty/health"
"github.com/JulesMike/spoty/logger"
"github.com/ThreeDotsLabs/watermill"
"github.com/ThreeDotsLabs/watermill/message"
"github.com/ThreeDotsLabs/watermill/message/router/middleware"
"github.com/mgjules/spoty/config"
"github.com/mgjules/spoty/health"
"github.com/mgjules/spoty/logger"
"go.uber.org/fx"
)

Expand Down
6 changes: 3 additions & 3 deletions transport/messenger/subscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
"strings"
"time"

"github.com/JulesMike/spoty/config"
"github.com/JulesMike/spoty/health"
"github.com/JulesMike/spoty/logger"
"github.com/ThreeDotsLabs/watermill"
"github.com/ThreeDotsLabs/watermill-amqp/v2/pkg/amqp"
"github.com/ThreeDotsLabs/watermill/message"
"github.com/ThreeDotsLabs/watermill/pubsub/gochannel"
"github.com/mgjules/spoty/config"
"github.com/mgjules/spoty/health"
"github.com/mgjules/spoty/logger"
)

// Subscriber is a wrapper for amqp.Subscriber.
Expand Down
2 changes: 1 addition & 1 deletion waypoint.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runner {
profile = "kubernetes"

data_source "git" {
url = "https://github.com/JulesMike/spoty.git"
url = "https://github.com/mgjules/spoty.git"
ref = "main"
}

Expand Down

0 comments on commit be2aaad

Please sign in to comment.