Skip to content

Commit

Permalink
Updated module so "go get" can work until mercari#119 is reviewed and…
Browse files Browse the repository at this point in the history
… merged
  • Loading branch information
Leon Silcott committed Nov 1, 2022
1 parent 514eaaa commit be99a5a
Show file tree
Hide file tree
Showing 20 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions ci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ func TestGitHubActions(t *testing.T) {
Revision: "abcdefg",
Number: 0,
},
URL: "https://github.com/mercari/tfnotify/actions/runs/12345",
URL: "https://github.com/ooaklee/tfnotify/actions/runs/12345",
},
ok: true,
},
Expand All @@ -759,7 +759,7 @@ func TestGitHubActions(t *testing.T) {
Revision: "abcdefg",
Number: 123,
},
URL: "https://github.com/mercari/tfnotify/actions/runs/12345",
URL: "https://github.com/ooaklee/tfnotify/actions/runs/12345",
},
ok: true,
},
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/mercari/tfnotify
module github.com/ooaklee/tfnotify

go 1.12

Expand Down
16 changes: 8 additions & 8 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import (
"os"
"strings"

"github.com/mercari/tfnotify/config"
"github.com/mercari/tfnotify/notifier"
"github.com/mercari/tfnotify/notifier/github"
"github.com/mercari/tfnotify/notifier/gitlab"
"github.com/mercari/tfnotify/notifier/mattermost"
"github.com/mercari/tfnotify/notifier/slack"
"github.com/mercari/tfnotify/notifier/typetalk"
"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/config"
"github.com/ooaklee/tfnotify/notifier"
"github.com/ooaklee/tfnotify/notifier/github"
"github.com/ooaklee/tfnotify/notifier/gitlab"
"github.com/ooaklee/tfnotify/notifier/mattermost"
"github.com/ooaklee/tfnotify/notifier/slack"
"github.com/ooaklee/tfnotify/notifier/typetalk"
"github.com/ooaklee/tfnotify/terraform"

"github.com/urfave/cli"
)
Expand Down
2 changes: 1 addition & 1 deletion notifier/github/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"

"github.com/google/go-github/github"
"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
"golang.org/x/oauth2"
)

Expand Down
2 changes: 1 addition & 1 deletion notifier/github/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"github.com/google/go-github/github"
"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
)

type fakeAPI struct {
Expand Down
2 changes: 1 addition & 1 deletion notifier/github/notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"unicode/utf8"

"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
)

// NotifyService handles communication with the notification related
Expand Down
2 changes: 1 addition & 1 deletion notifier/github/notify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
)

func TestNotifyNotify(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion notifier/gitlab/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"strings"

"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"

gitlab "github.com/xanzy/go-gitlab"
)
Expand Down
2 changes: 1 addition & 1 deletion notifier/gitlab/gitlab_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gitlab

import (
"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
gitlab "github.com/xanzy/go-gitlab"
)

Expand Down
2 changes: 1 addition & 1 deletion notifier/gitlab/notify.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gitlab

import (
"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
)

// NotifyService handles communication with the notification related
Expand Down
2 changes: 1 addition & 1 deletion notifier/gitlab/notify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gitlab
import (
"testing"

"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
)

func TestNotifyNotify(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion notifier/mattermost/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"

"github.com/ashwanthkumar/slack-go-webhook"
"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
)

// EnvWebhook is Mattermost webhook
Expand Down
2 changes: 1 addition & 1 deletion notifier/mattermost/notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"

"github.com/ashwanthkumar/slack-go-webhook"
"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
)

// NotifyService handles communication with the notification related
Expand Down
2 changes: 1 addition & 1 deletion notifier/mattermost/notify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion notifier/slack/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"

"github.com/lestrrat-go/slack"
"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
)

// EnvToken is Slack API Token
Expand Down
2 changes: 1 addition & 1 deletion notifier/slack/notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"

"github.com/lestrrat-go/slack/objects"
"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
)

// NotifyService handles communication with the notification related
Expand Down
2 changes: 1 addition & 1 deletion notifier/slack/notify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/lestrrat-go/slack/objects"
"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
)

func TestNotify(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion notifier/typetalk/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"os"
"strconv"

"github.com/mercari/tfnotify/terraform"
typetalk "github.com/nulab/go-typetalk/typetalk/v1"
"github.com/ooaklee/tfnotify/terraform"
)

// EnvToken is Typetalk API Token
Expand Down
2 changes: 1 addition & 1 deletion notifier/typetalk/notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"errors"

"github.com/mercari/tfnotify/terraform"
"github.com/ooaklee/tfnotify/terraform"
)

// NotifyService handles notification process.
Expand Down
2 changes: 1 addition & 1 deletion notifier/typetalk/notify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"testing"

"github.com/mercari/tfnotify/terraform"
typetalkShared "github.com/nulab/go-typetalk/typetalk/shared"
typetalk "github.com/nulab/go-typetalk/typetalk/v1"
"github.com/ooaklee/tfnotify/terraform"
)

func TestNotify(t *testing.T) {
Expand Down

0 comments on commit be99a5a

Please sign in to comment.