[go mod] rename module

This commit is contained in:
2023-11-11 15:28:35 +01:00
parent 0b2bba5d77
commit a08de8a553
17 changed files with 25 additions and 25 deletions

View File

@@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"sort" "sort"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
type ActionResultChan chan error type ActionResultChan chan error

View File

@@ -3,7 +3,7 @@ package actions
import ( import (
"encoding/json" "encoding/json"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
type Printer struct { type Printer struct {

View File

@@ -15,7 +15,7 @@ import (
"maunium.net/go/mautrix/id" "maunium.net/go/mautrix/id"
"maunium.net/go/mautrix/crypto/cryptohelper" "maunium.net/go/mautrix/crypto/cryptohelper"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
type SendMatrix struct { type SendMatrix struct {

View File

@@ -7,7 +7,7 @@ import (
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5" tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
type SendTelegram struct { type SendTelegram struct {

View File

@@ -6,7 +6,7 @@ import (
"os/exec" "os/exec"
"os" "os"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
type ShellScript struct { type ShellScript struct {

View File

@@ -4,7 +4,7 @@ import (
"os/exec" "os/exec"
"encoding/json" "encoding/json"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
type Shutdown struct { type Shutdown struct {

View File

@@ -4,7 +4,7 @@ import (
"encoding/json" "encoding/json"
"time" "time"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
type TimeOut struct { type TimeOut struct {

View File

@@ -6,7 +6,7 @@ import (
"os/exec" "os/exec"
"strings" "strings"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
type Command struct { type Command struct {

View File

@@ -6,9 +6,9 @@ import (
"os" "os"
"flag" "flag"
"unknown.com/gokill/actions" "github.com/k4lipso/gokill/actions"
"unknown.com/gokill/triggers" "github.com/k4lipso/gokill/triggers"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
func getMarkdown(documenter internal.Documenter) string { func getMarkdown(documenter internal.Documenter) string {

View File

@@ -6,9 +6,9 @@ import (
"fmt" "fmt"
"os" "os"
"unknown.com/gokill/actions" "github.com/k4lipso/gokill/actions"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
"unknown.com/gokill/triggers" "github.com/k4lipso/gokill/triggers"
) )
func GetDocumentation() string { func GetDocumentation() string {

2
go.mod
View File

@@ -1,4 +1,4 @@
module unknown.com/gokill module github.com/k4lipso/gokill
go 1.21.3 go 1.21.3

View File

@@ -6,8 +6,8 @@ import (
"os" "os"
"time" "time"
"unknown.com/gokill/actions" "github.com/k4lipso/gokill/actions"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
type EthernetDisconnect struct { type EthernetDisconnect struct {

View File

@@ -3,7 +3,7 @@ package triggers
import ( import (
"testing" "testing"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
func TestEthernetDisconnetConfig(t *testing.T) { func TestEthernetDisconnetConfig(t *testing.T) {

View File

@@ -6,8 +6,8 @@ import (
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5" tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
"unknown.com/gokill/actions" "github.com/k4lipso/gokill/actions"
) )
type ReceiveTelegram struct { type ReceiveTelegram struct {

View File

@@ -3,8 +3,8 @@ import (
"encoding/json" "encoding/json"
"time" "time"
"unknown.com/gokill/actions" "github.com/k4lipso/gokill/actions"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
type TimeOut struct { type TimeOut struct {

View File

@@ -3,7 +3,7 @@ package triggers
import ( import (
"fmt" "fmt"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
type Trigger interface { type Trigger interface {

View File

@@ -6,8 +6,8 @@ import (
"os" "os"
"time" "time"
"unknown.com/gokill/actions" "github.com/k4lipso/gokill/actions"
"unknown.com/gokill/internal" "github.com/k4lipso/gokill/internal"
) )
type UsbDisconnect struct { type UsbDisconnect struct {