[go mod] rename module
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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
2
go.mod
@@ -1,4 +1,4 @@
|
|||||||
module unknown.com/gokill
|
module github.com/k4lipso/gokill
|
||||||
|
|
||||||
go 1.21.3
|
go 1.21.3
|
||||||
|
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user