Move internal references to new source hosting
Some checks failed
/ golint (push) Failing after 3m50s
Some checks failed
/ golint (push) Failing after 3m50s
This commit is contained in:
parent
8c8e360bf6
commit
7237f5f666
239 changed files with 771 additions and 775 deletions
|
|
@ -5,9 +5,9 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
||||
"github.com/rs/zerolog/log"
|
||||
"resty.dev/v3"
|
||||
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||
)
|
||||
|
||||
type attachmentRequest struct {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
||||
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||
)
|
||||
|
||||
func SendText(ctx context.Context, source string, destination string, message string) (string, error) {
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/twilio/twilio-go"
|
||||
twilioApi "github.com/twilio/twilio-go/rest/api/v2010"
|
||||
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||
)
|
||||
|
||||
func sendTextTwilio(ctx context.Context, source string, destination string, message string) (string, error) {
|
||||
|
|
@ -34,4 +34,3 @@ func sendTextTwilio(ctx context.Context, source string, destination string, mess
|
|||
log.Info().Str("src", source).Str("dst", destination).Str("message", message).Str("sid", *resp.Sid).Msg("Created text message")
|
||||
return *resp.Sid, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ import (
|
|||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/lint"
|
||||
"github.com/rs/zerolog/log"
|
||||
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||
"source.gleipnir.technology/Gleipnir/nidus-sync/lint"
|
||||
)
|
||||
|
||||
var VOIP_MS_API = "https://voip.ms/api/v1/rest.php"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue