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 package alarm
import ( import (
"alrm/alarm/email"
"fmt" "fmt"
"git.binarythought.com/cdramey/alrm/alarm/email"
) )
type Alarm interface { type Alarm interface {

View File

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

View File

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

View File

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

View File

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

2
go.mod
View File

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

View File

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

View File

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