change doc output

This commit is contained in:
2023-09-30 15:32:02 +02:00
parent 62aff64f3b
commit 74a61c0a51
3 changed files with 1 additions and 4 deletions

View File

@@ -49,7 +49,6 @@ func (t EthernetDisconnect) Listen() {
actions.Fire(t.action)
}
// func NewTimeOut(d time.Duration, action actions.Action) EthernetDisconnect {
func NewEthernetDisconnect(config internal.KillSwitchConfig) (EthernetDisconnect, error) {
result := EthernetDisconnect{
WaitTillConnected: true,

View File

@@ -6,8 +6,6 @@ import (
"unknown.com/gokill/internal"
)
// TestHelloName calls greetings.Hello with a name, checking
// for a valid return value.
func TestEthernetDisconnetConfig(t *testing.T) {
type EthernetTest struct {
testConfig internal.KillSwitchConfig