Skip to content

Commit

Permalink
change imports to inhuman repo
Browse files Browse the repository at this point in the history
  • Loading branch information
id committed Nov 16, 2018
1 parent cba1a13 commit 637f27d
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 30 deletions.
2 changes: 1 addition & 1 deletion discord/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"

"github.com/appscode/envconfig"
"github.com/appscode/go-notify"
"github.com/bwmarrin/discordgo"
"github.com/inhuman/go-notify"
)

const UID = "discord"
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/appscode/go-notify
module github.com/inhuman/go-notify

require (
bitbucket.org/atlassian/go-stride v0.0.0-20180601005642-78855f0a5d80
Expand Down
2 changes: 1 addition & 1 deletion hipchat/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"time"

"github.com/appscode/envconfig"
"github.com/appscode/go-notify"
"github.com/inhuman/go-notify"
"github.com/tbruyelle/hipchat-go/hipchat"
)

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

"errors"
"github.com/appscode/envconfig"
"github.com/appscode/go-notify"
"github.com/inhuman/go-notify"
)

const UID = "stdout"
Expand Down
2 changes: 1 addition & 1 deletion mailgun/mail.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package mailgun
import (
"errors"
"github.com/appscode/envconfig"
notify "github.com/appscode/go-notify"
notify "github.com/inhuman/go-notify"
h2t "github.com/jaytaylor/html2text"
mailgun "github.com/mailgun/mailgun-go"
)
Expand Down
2 changes: 1 addition & 1 deletion mattermost/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"errors"
"fmt"
"github.com/appscode/envconfig"
"github.com/appscode/go-notify"
"github.com/golang/glog"
"github.com/inhuman/go-notify"
"net/http"
)

Expand Down
2 changes: 1 addition & 1 deletion plivo/sms.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

"github.com/appscode/envconfig"
"github.com/appscode/go-notify"
"github.com/inhuman/go-notify"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pushover/notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"

"github.com/appscode/envconfig"
"github.com/appscode/go-notify"
"github.com/inhuman/go-notify"
)

const (
Expand Down Expand Up @@ -84,7 +84,7 @@ func (c *client) Send() error {
if c.opt.Token == "" {
return errors.New("Missing token")
}
if c.opt.User =="" {
if c.opt.User == "" {
return errors.New("Missing user")
}
if c.opt.Message == "" {
Expand Down
2 changes: 1 addition & 1 deletion slack/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package slack
import (
"errors"
"github.com/appscode/envconfig"
"github.com/appscode/go-notify"
"github.com/inhuman/go-notify"
"github.com/nlopes/slack"
)

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

"errors"
"github.com/appscode/envconfig"
"github.com/appscode/go-notify"
"github.com/inhuman/go-notify"
gomail "gopkg.in/gomail.v2"
)

Expand Down
2 changes: 1 addition & 1 deletion stride/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"bitbucket.org/atlassian/go-stride/pkg/stride"
"github.com/appscode/envconfig"
"github.com/appscode/go-notify"
"github.com/inhuman/go-notify"
)

const (
Expand Down
7 changes: 3 additions & 4 deletions telegram/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ import (
"encoding/json"
"errors"
"fmt"
"net/http"
"net/url"

"github.com/appscode/envconfig"
"github.com/appscode/go-notify"
"github.com/golang/glog"
"github.com/inhuman/go-notify"
"net/http"
"net/url"
)

const UID = "telegram"
Expand Down
2 changes: 1 addition & 1 deletion twilio/sms.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"errors"
"github.com/appscode/envconfig"
"github.com/appscode/go-notify"
"github.com/inhuman/go-notify"
)

const UID = "twilio"
Expand Down
24 changes: 12 additions & 12 deletions unified/notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ import (
"strings"

"github.com/appscode/envconfig"
"github.com/appscode/go-notify/discord"
"github.com/appscode/go-notify/hipchat"
"github.com/appscode/go-notify/log"
"github.com/appscode/go-notify/mailgun"
"github.com/appscode/go-notify/plivo"
"github.com/appscode/go-notify/pushover"
"github.com/appscode/go-notify/slack"
"github.com/appscode/go-notify/smtp"
"github.com/appscode/go-notify/stride"
"github.com/appscode/go-notify/telegram"
"github.com/appscode/go-notify/twilio"
"github.com/appscode/go-notify/webhook"
"github.com/inhuman/go-notify/discord"
"github.com/inhuman/go-notify/hipchat"
"github.com/inhuman/go-notify/log"
"github.com/inhuman/go-notify/mailgun"
"github.com/inhuman/go-notify/plivo"
"github.com/inhuman/go-notify/pushover"
"github.com/inhuman/go-notify/slack"
"github.com/inhuman/go-notify/smtp"
"github.com/inhuman/go-notify/stride"
"github.com/inhuman/go-notify/telegram"
"github.com/inhuman/go-notify/twilio"
"github.com/inhuman/go-notify/webhook"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion webhook/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"errors"
"github.com/appscode/envconfig"
"github.com/appscode/go-notify"
"github.com/appscode/go/net/httpclient"
"github.com/inhuman/go-notify"
)

const UID = "webhook"
Expand Down

0 comments on commit 637f27d

Please sign in to comment.