From b6972abbf1d94b14f8abdfe6db85837397278f69 Mon Sep 17 00:00:00 2001 From: Aaron Tye Date: Tue, 27 Jul 2021 22:49:19 -0400 Subject: [PATCH] Fix go mod --- go.mod | 2 +- internal/auth/openid/coreos.go | 2 +- internal/cmd/entrypoint.go | 11 ++++++----- internal/irc/client/gempir.go | 4 ++-- internal/irc/irc.go | 4 ++-- internal/irc/irc_test.go | 2 +- internal/terminal/terminal.go | 2 +- main.go | 2 +- 8 files changed, 15 insertions(+), 14 deletions(-) diff --git a/go.mod b/go.mod index e227769..4ce20b1 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitub.com/atye/ttchat +module github.com/atye/ttchat go 1.16 diff --git a/internal/auth/openid/coreos.go b/internal/auth/openid/coreos.go index b798788..c1d4bbd 100644 --- a/internal/auth/openid/coreos.go +++ b/internal/auth/openid/coreos.go @@ -17,8 +17,8 @@ package openid import ( "context" + "github.com/atye/ttchat/internal/auth" "github.com/coreos/go-oidc/v3/oidc" - "gitub.com/atye/ttchat/internal/auth" ) type CoreOSVerifier struct { diff --git a/internal/cmd/entrypoint.go b/internal/cmd/entrypoint.go index c57c114..8b340c7 100644 --- a/internal/cmd/entrypoint.go +++ b/internal/cmd/entrypoint.go @@ -25,17 +25,18 @@ import ( "strings" "time" + "github.com/atye/ttchat/internal/auth" + "github.com/atye/ttchat/internal/auth/openid" + "github.com/atye/ttchat/internal/irc" + "github.com/atye/ttchat/internal/irc/client" + "github.com/atye/ttchat/internal/terminal" tea "github.com/charmbracelet/bubbletea" "github.com/coreos/go-oidc/v3/oidc" "github.com/google/uuid" "github.com/nicklaw5/helix" "github.com/pkg/browser" "github.com/spf13/cobra" - "gitub.com/atye/ttchat/internal/auth" - "gitub.com/atye/ttchat/internal/auth/openid" - "gitub.com/atye/ttchat/internal/irc" - "gitub.com/atye/ttchat/internal/irc/client" - "gitub.com/atye/ttchat/internal/terminal" + "golang.org/x/oauth2" "golang.org/x/oauth2/twitch" "gopkg.in/yaml.v3" diff --git a/internal/irc/client/gempir.go b/internal/irc/client/gempir.go index 3b49cfd..85ec359 100644 --- a/internal/irc/client/gempir.go +++ b/internal/irc/client/gempir.go @@ -17,9 +17,9 @@ package client import ( "fmt" + "github.com/atye/ttchat/internal/irc" + "github.com/atye/ttchat/internal/types" "github.com/gempir/go-twitch-irc/v2" - "gitub.com/atye/ttchat/internal/irc" - "gitub.com/atye/ttchat/internal/types" ) type Gempir struct { diff --git a/internal/irc/irc.go b/internal/irc/irc.go index 8cb42f5..e8368cc 100644 --- a/internal/irc/irc.go +++ b/internal/irc/irc.go @@ -18,9 +18,9 @@ import ( "fmt" "strings" + "github.com/atye/ttchat/internal/terminal" + "github.com/atye/ttchat/internal/types" "github.com/charmbracelet/lipgloss" - "gitub.com/atye/ttchat/internal/terminal" - "gitub.com/atye/ttchat/internal/types" ) type IRC interface { diff --git a/internal/irc/irc_test.go b/internal/irc/irc_test.go index 58feb46..032f904 100644 --- a/internal/irc/irc_test.go +++ b/internal/irc/irc_test.go @@ -18,8 +18,8 @@ import ( "fmt" "testing" + "github.com/atye/ttchat/internal/types" "github.com/charmbracelet/lipgloss" - "gitub.com/atye/ttchat/internal/types" ) // build a Private Message diff --git a/internal/terminal/terminal.go b/internal/terminal/terminal.go index af19eac..bfbad46 100644 --- a/internal/terminal/terminal.go +++ b/internal/terminal/terminal.go @@ -18,9 +18,9 @@ import ( "fmt" "strings" + "github.com/atye/ttchat/internal/types" "github.com/charmbracelet/bubbles/textinput" tea "github.com/charmbracelet/bubbletea" - "gitub.com/atye/ttchat/internal/types" ) type Twitch interface { diff --git a/main.go b/main.go index 20010a4..bd1f2ce 100644 --- a/main.go +++ b/main.go @@ -18,7 +18,7 @@ import ( "fmt" "os" - "gitub.com/atye/ttchat/internal/cmd" + "github.com/atye/ttchat/internal/cmd" ) func main() {