change doc output
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user