Merge branch 'name_change' into 'main'
Name change and code formatting See merge request kdeng00/twilio_sender!2
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ import "fmt"
|
|||||||
import "os"
|
import "os"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.kundeng.us/phoenix/twilio_sender/models"
|
"gitlab.com/kdeng00/twilio_sender/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ParseConfig(filepath string) (config models.TwiloDetails, success bool) {
|
func ParseConfig(filepath string) (config models.TwiloDetails, success bool) {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
module git.kundeng.us/phoenix/twilio_sender
|
module gitlab.com/kdeng00/twilio_sender
|
||||||
|
|
||||||
go 1.21.6
|
go 1.21.6
|
||||||
|
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ import "fmt"
|
|||||||
import "os"
|
import "os"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.kundeng.us/phoenix/twilio_sender/config"
|
"gitlab.com/kdeng00/twilio_sender/config"
|
||||||
"git.kundeng.us/phoenix/twilio_sender/models"
|
"gitlab.com/kdeng00/twilio_sender/models"
|
||||||
"git.kundeng.us/phoenix/twilio_sender/sender"
|
"gitlab.com/kdeng00/twilio_sender/sender"
|
||||||
"git.kundeng.us/phoenix/twilio_sender/util"
|
"gitlab.com/kdeng00/twilio_sender/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.kundeng.us/phoenix/twilio_sender/models"
|
|
||||||
"github.com/twilio/twilio-go"
|
"github.com/twilio/twilio-go"
|
||||||
twilioApi "github.com/twilio/twilio-go/rest/api/v2010"
|
twilioApi "github.com/twilio/twilio-go/rest/api/v2010"
|
||||||
|
"gitlab.com/kdeng00/twilio_sender/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
func SendMessages(config models.TwiloDetails, numbers [](models.Number), message models.Message, secondInterval int) {
|
func SendMessages(config models.TwiloDetails, numbers [](models.Number), message models.Message, secondInterval int) {
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ import "os"
|
|||||||
import "strings"
|
import "strings"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.kundeng.us/phoenix/twilio_sender/models"
|
"gitlab.com/kdeng00/twilio_sender/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GetPaths(args []string) (configPath string, numberPath string, messagePath string) {
|
func GetPaths(args []string) (configPath string, numberPath string, messagePath string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user