Skip to content

Commit

Permalink
Fix go mod (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
atye authored Jul 28, 2021
1 parent 723eabb commit 9ad305d
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module gitub.com/atye/ttchat
module github.com/atye/ttchat

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion internal/auth/openid/coreos.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
11 changes: 6 additions & 5 deletions internal/cmd/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions internal/irc/client/gempir.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions internal/irc/irc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/irc/irc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion internal/terminal/terminal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"fmt"
"os"

"gitub.com/atye/ttchat/internal/cmd"
"github.com/atye/ttchat/internal/cmd"
)

func main() {
Expand Down

0 comments on commit 9ad305d

Please sign in to comment.