From 9723d8bbaf575edd690abdd121c6b0072270f9aa Mon Sep 17 00:00:00 2001 From: TroyKomodo Date: Sun, 19 Jun 2022 15:39:09 -0400 Subject: [PATCH] rename module --- auth/jwt.go | 2 +- auth/keypair.jwt.go | 2 +- datastructures/priority_queue/priority_queue.go | 2 +- errors/errors.go | 2 +- eventemitter/eventemitter.go | 4 ++-- eventemitter/eventlistener.go | 2 +- events/events.go | 2 +- events/publish.go | 2 +- events/types.go | 2 +- go.mod | 2 +- mongo/indexing/api.go | 6 +++--- mongo/indexing/indexing.go | 2 +- mongo/inst.go | 2 +- redis/instance.go | 4 ++-- structures/v2/const.go | 2 +- structures/v2/type.emote.go | 2 +- structures/v2/type.user.go | 2 +- structures/v3/aggregations/aggregations.go | 2 +- structures/v3/aggregations/ban_relations.go | 2 +- structures/v3/aggregations/emoteset_relations.go | 2 +- structures/v3/aggregations/report_relations.go | 2 +- structures/v3/aggregations/user_relations.go | 2 +- structures/v3/mutations/ban.mutation.go | 8 ++++---- structures/v3/mutations/emote.mutation.go | 8 ++++---- structures/v3/mutations/emoteset.create.mutation.go | 6 +++--- .../v3/mutations/emoteset.set_emote.mutation.go | 10 +++++----- structures/v3/mutations/message.inbox.go | 6 +++--- structures/v3/mutations/message.mod_request.go | 6 +++--- structures/v3/mutations/message.mutation.go | 6 +++--- structures/v3/mutations/mutations.go | 4 ++-- structures/v3/mutations/role.mutation.go | 6 +++--- .../v3/mutations/user.active_emote_set.mutation.go | 6 +++--- structures/v3/mutations/user.editors.mutation.go | 6 +++--- structures/v3/mutations/user.set_role.mutation.go | 6 +++--- structures/v3/query/query.ban.go | 4 ++-- structures/v3/query/query.bind_objects.go | 2 +- structures/v3/query/query.emote-channels.go | 10 +++++----- structures/v3/query/query.emote-set.go | 6 +++--- structures/v3/query/query.emote.go | 6 +++--- structures/v3/query/query.go | 12 ++++++------ structures/v3/query/query.messages.go | 8 ++++---- structures/v3/query/query.roles.go | 4 ++-- structures/v3/query/query.search-emotes.go | 12 ++++++------ structures/v3/query/query.search-users.go | 8 ++++---- structures/v3/query/query.system.go | 2 +- structures/v3/query/query.users.go | 6 +++--- structures/v3/type.cosmetic.go | 2 +- structures/v3/type.emote.go | 2 +- structures/v3/type.entitlement.go | 2 +- structures/v3/type.message.go | 2 +- structures/v3/type.role.go | 2 +- structures/v3/type.user.go | 2 +- structures/v3/validator.emote.go | 2 +- 53 files changed, 112 insertions(+), 112 deletions(-) diff --git a/auth/jwt.go b/auth/jwt.go index 37368d1..c9c4ab1 100644 --- a/auth/jwt.go +++ b/auth/jwt.go @@ -5,8 +5,8 @@ import ( "strings" "time" - "github.com/SevenTV/Common/utils" "github.com/golang-jwt/jwt/v4" + "github.com/seventv/common/utils" ) func SignJWT(secret string, claim jwt.Claims) (string, error) { diff --git a/auth/keypair.jwt.go b/auth/keypair.jwt.go index 0bd6aa9..d5d1da5 100644 --- a/auth/keypair.jwt.go +++ b/auth/keypair.jwt.go @@ -5,8 +5,8 @@ import ( "encoding/json" "time" - "github.com/SevenTV/Common/utils" "github.com/golang-jwt/jwt/v4" + "github.com/seventv/common/utils" ) /* diff --git a/datastructures/priority_queue/priority_queue.go b/datastructures/priority_queue/priority_queue.go index 3c58f80..0d464de 100644 --- a/datastructures/priority_queue/priority_queue.go +++ b/datastructures/priority_queue/priority_queue.go @@ -1,6 +1,6 @@ package priority_queue -import "github.com/SevenTV/Common/datastructures/heap" +import "github.com/seventv/common/datastructures/heap" type Item[T any] struct { priority int diff --git a/errors/errors.go b/errors/errors.go index d7b5ddc..ae8a58f 100644 --- a/errors/errors.go +++ b/errors/errors.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/utils" ) type APIError interface { diff --git a/eventemitter/eventemitter.go b/eventemitter/eventemitter.go index 9749907..76fd4a5 100644 --- a/eventemitter/eventemitter.go +++ b/eventemitter/eventemitter.go @@ -6,8 +6,8 @@ import ( "sync/atomic" "time" - "github.com/SevenTV/Common/sync_map" - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/sync_map" + "github.com/seventv/common/utils" ) type RawEventEmitter struct { diff --git a/eventemitter/eventlistener.go b/eventemitter/eventlistener.go index 777b6f9..22477fe 100644 --- a/eventemitter/eventlistener.go +++ b/eventemitter/eventlistener.go @@ -3,7 +3,7 @@ package eventemitter import ( "reflect" - "github.com/SevenTV/Common/sync_map" + "github.com/seventv/common/sync_map" ) type EventListener struct { diff --git a/events/events.go b/events/events.go index 3ffe3e0..38f986b 100644 --- a/events/events.go +++ b/events/events.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/utils" ) type Message[D AnyPayload] struct { diff --git a/events/publish.go b/events/publish.go index a9c72e7..56ca985 100644 --- a/events/publish.go +++ b/events/publish.go @@ -5,7 +5,7 @@ import ( "encoding/json" "strings" - "github.com/SevenTV/Common/redis" + "github.com/seventv/common/redis" ) func Publish[D AnyPayload](ctx context.Context, msg Message[D], redis redis.Instance) error { diff --git a/events/types.go b/events/types.go index 7b8da02..c7df493 100644 --- a/events/types.go +++ b/events/types.go @@ -4,7 +4,7 @@ import ( "encoding/json" "strings" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/go.mod b/go.mod index 79907ba..c68d667 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/SevenTV/Common +module github.com/seventv/common go 1.18 diff --git a/mongo/indexing/api.go b/mongo/indexing/api.go index 6ce92bf..f8adcbc 100644 --- a/mongo/indexing/api.go +++ b/mongo/indexing/api.go @@ -1,9 +1,9 @@ package indexing import ( - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/mongo/options" ) diff --git a/mongo/indexing/indexing.go b/mongo/indexing/indexing.go index dd84f55..193ba0d 100644 --- a/mongo/indexing/indexing.go +++ b/mongo/indexing/indexing.go @@ -4,7 +4,7 @@ import ( "context" "strings" - "github.com/SevenTV/Common/mongo" + "github.com/seventv/common/mongo" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" "go.uber.org/zap" diff --git a/mongo/inst.go b/mongo/inst.go index a13ca97..b30fbb1 100644 --- a/mongo/inst.go +++ b/mongo/inst.go @@ -4,8 +4,8 @@ import ( "context" "time" - "github.com/SevenTV/Common/structures/v3" "github.com/patrickmn/go-cache" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/mongo" ) diff --git a/redis/instance.go b/redis/instance.go index 3055992..93a43c5 100644 --- a/redis/instance.go +++ b/redis/instance.go @@ -7,9 +7,9 @@ import ( "sync/atomic" "time" - "github.com/SevenTV/Common/sync_map" - "github.com/SevenTV/Common/utils" "github.com/go-redis/redis/v8" + "github.com/seventv/common/sync_map" + "github.com/seventv/common/utils" "go.uber.org/zap" ) diff --git a/structures/v2/const.go b/structures/v2/const.go index d215b04..7ae8db4 100644 --- a/structures/v2/const.go +++ b/structures/v2/const.go @@ -1,6 +1,6 @@ package structures -import "github.com/SevenTV/Common/mongo" +import "github.com/seventv/common/mongo" var ( CollectionNameEmotes = mongo.CollectionName("emotes") diff --git a/structures/v2/type.emote.go b/structures/v2/type.emote.go index 7d57699..ba511f1 100644 --- a/structures/v2/type.emote.go +++ b/structures/v2/type.emote.go @@ -3,7 +3,7 @@ package structures import ( "time" - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v2/type.user.go b/structures/v2/type.user.go index 25378fe..6d0e2cb 100644 --- a/structures/v2/type.user.go +++ b/structures/v2/type.user.go @@ -3,7 +3,7 @@ package structures import ( "time" - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/aggregations/aggregations.go b/structures/v3/aggregations/aggregations.go index bfd63fd..3c220fb 100644 --- a/structures/v3/aggregations/aggregations.go +++ b/structures/v3/aggregations/aggregations.go @@ -3,7 +3,7 @@ package aggregations import ( "fmt" - "github.com/SevenTV/Common/mongo" + "github.com/seventv/common/mongo" "go.mongodb.org/mongo-driver/bson" ) diff --git a/structures/v3/aggregations/ban_relations.go b/structures/v3/aggregations/ban_relations.go index f4214ca..748d6ef 100644 --- a/structures/v3/aggregations/ban_relations.go +++ b/structures/v3/aggregations/ban_relations.go @@ -3,7 +3,7 @@ package aggregations import ( "time" - "github.com/SevenTV/Common/mongo" + "github.com/seventv/common/mongo" "go.mongodb.org/mongo-driver/bson" ) diff --git a/structures/v3/aggregations/emoteset_relations.go b/structures/v3/aggregations/emoteset_relations.go index 88752c7..5b96dfb 100644 --- a/structures/v3/aggregations/emoteset_relations.go +++ b/structures/v3/aggregations/emoteset_relations.go @@ -1,7 +1,7 @@ package aggregations import ( - "github.com/SevenTV/Common/mongo" + "github.com/seventv/common/mongo" "go.mongodb.org/mongo-driver/bson" ) diff --git a/structures/v3/aggregations/report_relations.go b/structures/v3/aggregations/report_relations.go index d69836c..7b7084f 100644 --- a/structures/v3/aggregations/report_relations.go +++ b/structures/v3/aggregations/report_relations.go @@ -1,7 +1,7 @@ package aggregations import ( - "github.com/SevenTV/Common/mongo" + "github.com/seventv/common/mongo" "go.mongodb.org/mongo-driver/bson" ) diff --git a/structures/v3/aggregations/user_relations.go b/structures/v3/aggregations/user_relations.go index 1ef43be..1b17bff 100644 --- a/structures/v3/aggregations/user_relations.go +++ b/structures/v3/aggregations/user_relations.go @@ -1,7 +1,7 @@ package aggregations import ( - "github.com/SevenTV/Common/mongo" + "github.com/seventv/common/mongo" "go.mongodb.org/mongo-driver/bson" ) diff --git a/structures/v3/mutations/ban.mutation.go b/structures/v3/mutations/ban.mutation.go index e6ad7c3..a37fd0b 100644 --- a/structures/v3/mutations/ban.mutation.go +++ b/structures/v3/mutations/ban.mutation.go @@ -6,10 +6,10 @@ import ( "strings" "time" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" "go.uber.org/zap" diff --git a/structures/v3/mutations/emote.mutation.go b/structures/v3/mutations/emote.mutation.go index c696ba7..a7b09d8 100644 --- a/structures/v3/mutations/emote.mutation.go +++ b/structures/v3/mutations/emote.mutation.go @@ -5,10 +5,10 @@ import ( "strconv" "time" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" "go.mongodb.org/mongo-driver/mongo/options" diff --git a/structures/v3/mutations/emoteset.create.mutation.go b/structures/v3/mutations/emoteset.create.mutation.go index 72c8734..93a8c59 100644 --- a/structures/v3/mutations/emoteset.create.mutation.go +++ b/structures/v3/mutations/emoteset.create.mutation.go @@ -4,9 +4,9 @@ import ( "context" "strconv" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" "go.mongodb.org/mongo-driver/mongo/options" diff --git a/structures/v3/mutations/emoteset.set_emote.mutation.go b/structures/v3/mutations/emoteset.set_emote.mutation.go index ead0883..70a57c3 100644 --- a/structures/v3/mutations/emoteset.set_emote.mutation.go +++ b/structures/v3/mutations/emoteset.set_emote.mutation.go @@ -4,12 +4,12 @@ import ( "context" "time" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" - "github.com/SevenTV/Common/structures/v3/aggregations" - "github.com/SevenTV/Common/utils" "github.com/hashicorp/go-multierror" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" + "github.com/seventv/common/structures/v3/aggregations" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" "go.mongodb.org/mongo-driver/mongo/options" diff --git a/structures/v3/mutations/message.inbox.go b/structures/v3/mutations/message.inbox.go index 6c64d13..a2fd4ca 100644 --- a/structures/v3/mutations/message.inbox.go +++ b/structures/v3/mutations/message.inbox.go @@ -4,9 +4,9 @@ import ( "context" "time" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/mutations/message.mod_request.go b/structures/v3/mutations/message.mod_request.go index 8e1b7a2..73ebe7f 100644 --- a/structures/v3/mutations/message.mod_request.go +++ b/structures/v3/mutations/message.mod_request.go @@ -4,9 +4,9 @@ import ( "context" "time" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/mutations/message.mutation.go b/structures/v3/mutations/message.mutation.go index ac991a5..6a0ac92 100644 --- a/structures/v3/mutations/message.mutation.go +++ b/structures/v3/mutations/message.mutation.go @@ -3,9 +3,9 @@ package mutations import ( "context" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" ) diff --git a/structures/v3/mutations/mutations.go b/structures/v3/mutations/mutations.go index e2e0984..e7269bc 100644 --- a/structures/v3/mutations/mutations.go +++ b/structures/v3/mutations/mutations.go @@ -3,8 +3,8 @@ package mutations import ( "sync" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/redis" + "github.com/seventv/common/mongo" + "github.com/seventv/common/redis" ) type Mutate struct { diff --git a/structures/v3/mutations/role.mutation.go b/structures/v3/mutations/role.mutation.go index 4a35f2c..1fa1b3f 100644 --- a/structures/v3/mutations/role.mutation.go +++ b/structures/v3/mutations/role.mutation.go @@ -4,9 +4,9 @@ import ( "context" "fmt" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" "go.mongodb.org/mongo-driver/mongo/options" diff --git a/structures/v3/mutations/user.active_emote_set.mutation.go b/structures/v3/mutations/user.active_emote_set.mutation.go index e086449..f948459 100644 --- a/structures/v3/mutations/user.active_emote_set.mutation.go +++ b/structures/v3/mutations/user.active_emote_set.mutation.go @@ -3,9 +3,9 @@ package mutations import ( "context" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" "go.mongodb.org/mongo-driver/mongo/options" diff --git a/structures/v3/mutations/user.editors.mutation.go b/structures/v3/mutations/user.editors.mutation.go index f5afd21..813ea2a 100644 --- a/structures/v3/mutations/user.editors.mutation.go +++ b/structures/v3/mutations/user.editors.mutation.go @@ -3,9 +3,9 @@ package mutations import ( "context" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" ) diff --git a/structures/v3/mutations/user.set_role.mutation.go b/structures/v3/mutations/user.set_role.mutation.go index b2c941d..fb96927 100644 --- a/structures/v3/mutations/user.set_role.mutation.go +++ b/structures/v3/mutations/user.set_role.mutation.go @@ -3,9 +3,9 @@ package mutations import ( "context" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/mongo/options" ) diff --git a/structures/v3/query/query.ban.go b/structures/v3/query/query.ban.go index 7d2ffb5..8c1ceac 100644 --- a/structures/v3/query/query.ban.go +++ b/structures/v3/query/query.ban.go @@ -8,8 +8,8 @@ import ( "fmt" "time" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/query/query.bind_objects.go b/structures/v3/query/query.bind_objects.go index 6a4f6cd..864675a 100644 --- a/structures/v3/query/query.bind_objects.go +++ b/structures/v3/query/query.bind_objects.go @@ -3,7 +3,7 @@ package query import ( "context" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/query/query.emote-channels.go b/structures/v3/query/query.emote-channels.go index ca7a580..3925897 100644 --- a/structures/v3/query/query.emote-channels.go +++ b/structures/v3/query/query.emote-channels.go @@ -7,12 +7,12 @@ import ( "io" "time" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/redis" - "github.com/SevenTV/Common/structures/v3" - "github.com/SevenTV/Common/utils" "github.com/hashicorp/go-multierror" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/redis" + "github.com/seventv/common/structures/v3" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" "go.mongodb.org/mongo-driver/mongo/options" diff --git a/structures/v3/query/query.emote-set.go b/structures/v3/query/query.emote-set.go index 19c2c62..70ca592 100644 --- a/structures/v3/query/query.emote-set.go +++ b/structures/v3/query/query.emote-set.go @@ -3,10 +3,10 @@ package query import ( "context" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" - "github.com/SevenTV/Common/structures/v3/aggregations" "github.com/hashicorp/go-multierror" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" + "github.com/seventv/common/structures/v3/aggregations" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/query/query.emote.go b/structures/v3/query/query.emote.go index 76ed726..58b3478 100644 --- a/structures/v3/query/query.emote.go +++ b/structures/v3/query/query.emote.go @@ -4,10 +4,10 @@ import ( "context" "io" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" "github.com/hashicorp/go-multierror" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/query/query.go b/structures/v3/query/query.go index ed863c5..2c84afc 100644 --- a/structures/v3/query/query.go +++ b/structures/v3/query/query.go @@ -7,14 +7,14 @@ import ( "sync" "time" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/redis" - "github.com/SevenTV/Common/structures/v3" - "github.com/SevenTV/Common/sync_map" - "github.com/SevenTV/Common/utils" "github.com/hashicorp/go-multierror" "github.com/patrickmn/go-cache" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/redis" + "github.com/seventv/common/structures/v3" + "github.com/seventv/common/sync_map" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson" "go.uber.org/zap" ) diff --git a/structures/v3/query/query.messages.go b/structures/v3/query/query.messages.go index b8006be..c930d52 100644 --- a/structures/v3/query/query.messages.go +++ b/structures/v3/query/query.messages.go @@ -4,10 +4,10 @@ import ( "context" "io" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" - "github.com/SevenTV/Common/structures/v3/aggregations" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" + "github.com/seventv/common/structures/v3/aggregations" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" "go.mongodb.org/mongo-driver/mongo/options" diff --git a/structures/v3/query/query.roles.go b/structures/v3/query/query.roles.go index 3be9622..cfb3c42 100644 --- a/structures/v3/query/query.roles.go +++ b/structures/v3/query/query.roles.go @@ -8,8 +8,8 @@ import ( "fmt" "time" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/mongo/options" ) diff --git a/structures/v3/query/query.search-emotes.go b/structures/v3/query/query.search-emotes.go index 873e2c0..177a472 100644 --- a/structures/v3/query/query.search-emotes.go +++ b/structures/v3/query/query.search-emotes.go @@ -11,13 +11,13 @@ import ( "sync" "time" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/redis" - "github.com/SevenTV/Common/structures/v3" - "github.com/SevenTV/Common/structures/v3/aggregations" - "github.com/SevenTV/Common/utils" "github.com/hashicorp/go-multierror" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/redis" + "github.com/seventv/common/structures/v3" + "github.com/seventv/common/structures/v3/aggregations" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" "go.uber.org/zap" diff --git a/structures/v3/query/query.search-users.go b/structures/v3/query/query.search-users.go index 07ce0d2..823641d 100644 --- a/structures/v3/query/query.search-users.go +++ b/structures/v3/query/query.search-users.go @@ -8,11 +8,11 @@ import ( "strings" "time" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/redis" - "github.com/SevenTV/Common/structures/v3" - "github.com/SevenTV/Common/structures/v3/aggregations" "github.com/hashicorp/go-multierror" + "github.com/seventv/common/mongo" + "github.com/seventv/common/redis" + "github.com/seventv/common/structures/v3" + "github.com/seventv/common/structures/v3/aggregations" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" "go.uber.org/zap" diff --git a/structures/v3/query/query.system.go b/structures/v3/query/query.system.go index 49615e0..4ab107b 100644 --- a/structures/v3/query/query.system.go +++ b/structures/v3/query/query.system.go @@ -4,7 +4,7 @@ import ( "context" "time" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" ) diff --git a/structures/v3/query/query.users.go b/structures/v3/query/query.users.go index ccfebd4..31a5817 100644 --- a/structures/v3/query/query.users.go +++ b/structures/v3/query/query.users.go @@ -4,9 +4,9 @@ import ( "context" "io" - "github.com/SevenTV/Common/errors" - "github.com/SevenTV/Common/mongo" - "github.com/SevenTV/Common/structures/v3" + "github.com/seventv/common/errors" + "github.com/seventv/common/mongo" + "github.com/seventv/common/structures/v3" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/type.cosmetic.go b/structures/v3/type.cosmetic.go index c52030d..4d60222 100644 --- a/structures/v3/type.cosmetic.go +++ b/structures/v3/type.cosmetic.go @@ -1,7 +1,7 @@ package structures import ( - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/type.emote.go b/structures/v3/type.emote.go index e4d909a..610a390 100644 --- a/structures/v3/type.emote.go +++ b/structures/v3/type.emote.go @@ -4,7 +4,7 @@ import ( "regexp" "time" - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/type.entitlement.go b/structures/v3/type.entitlement.go index 0ac3e67..1a0aab8 100644 --- a/structures/v3/type.entitlement.go +++ b/structures/v3/type.entitlement.go @@ -3,7 +3,7 @@ package structures import ( "time" - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/type.message.go b/structures/v3/type.message.go index aca380b..1aaa39f 100644 --- a/structures/v3/type.message.go +++ b/structures/v3/type.message.go @@ -3,7 +3,7 @@ package structures import ( "time" - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/type.role.go b/structures/v3/type.role.go index da8bf7c..59df764 100644 --- a/structures/v3/type.role.go +++ b/structures/v3/type.role.go @@ -1,7 +1,7 @@ package structures import ( - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/type.user.go b/structures/v3/type.user.go index fa827a8..4f1f54f 100644 --- a/structures/v3/type.user.go +++ b/structures/v3/type.user.go @@ -5,7 +5,7 @@ import ( "sort" "time" - "github.com/SevenTV/Common/utils" + "github.com/seventv/common/utils" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" ) diff --git a/structures/v3/validator.emote.go b/structures/v3/validator.emote.go index 557b085..61dc1c6 100644 --- a/structures/v3/validator.emote.go +++ b/structures/v3/validator.emote.go @@ -1,6 +1,6 @@ package structures -import "github.com/SevenTV/Common/errors" +import "github.com/seventv/common/errors" type EmoteValidator struct { v *Emote