switched to proper package names

This commit is contained in:
Christopher Ramey 2021-02-03 05:59:31 -09:00
parent dbd74982ff
commit aadd46ae1b
8 changed files with 10 additions and 10 deletions

View File

@ -1,8 +1,8 @@
package alarm
import (
"alrm/alarm/email"
"fmt"
"git.binarythought.com/cdramey/alrm/alarm/email"
)
type Alarm interface {

View File

@ -1,8 +1,8 @@
package check
import (
"alrm/check/ping"
"fmt"
"git.binarythought.com/cdramey/alrm/check/ping"
"strconv"
"strings"
"time"

View File

@ -1,8 +1,8 @@
package config
import (
"alrm/alarm"
"fmt"
"git.binarythought.com/cdramey/alrm/alarm"
"runtime"
"strconv"
"time"

View File

@ -1,7 +1,7 @@
package config
import (
"alrm/check"
"git.binarythought.com/cdramey/alrm/check"
)
type Host struct {

View File

@ -1,9 +1,9 @@
package config
import (
"alrm/alarm"
"alrm/check"
"fmt"
"git.binarythought.com/cdramey/alrm/alarm"
"git.binarythought.com/cdramey/alrm/check"
"strings"
)

2
go.mod
View File

@ -1,4 +1,4 @@
module alrm
module git.binarythought.com/cdramey/alrm
go 1.15

View File

@ -1,10 +1,10 @@
package main
import (
"alrm/config"
"encoding/json"
"flag"
"fmt"
"git.binarythought.com/cdramey/alrm/config"
"os"
"strings"
)

View File

@ -1,9 +1,9 @@
package main
import (
"alrm/check"
"alrm/config"
"fmt"
"git.binarythought.com/cdramey/alrm/check"
"git.binarythought.com/cdramey/alrm/config"
"time"
)