diff --git a/actions/printer.go b/actions/printer.go index a388896..2019d2a 100644 --- a/actions/printer.go +++ b/actions/printer.go @@ -49,7 +49,7 @@ func (p Printer) GetExample() string { return ` { type: "Print", - "options: { + "options": { "message": "Hello World!" } } diff --git a/triggers/ethernet.go b/triggers/ethernet.go index dc4b24d..afa42eb 100644 --- a/triggers/ethernet.go +++ b/triggers/ethernet.go @@ -95,7 +95,7 @@ func (p EthernetDisconnect) GetExample() string { "options": { "interfaceName": "eth0", "waitTillConnected": true - } + }, "actions": [ ] } diff --git a/triggers/timeout.go b/triggers/timeout.go index 330c1aa..b046f1e 100644 --- a/triggers/timeout.go +++ b/triggers/timeout.go @@ -54,7 +54,7 @@ func (p TimeOut) GetExample() string { "name": "Example Trigger", "options": { "duration": 5 - } + }, "actions": [ ] } diff --git a/triggers/usb.go b/triggers/usb.go index 297d8fd..ead4bf9 100644 --- a/triggers/usb.go +++ b/triggers/usb.go @@ -96,7 +96,7 @@ func (p UsbDisconnect) GetExample() string { "options": { "deviceId": "ata-Samsung_SSD_860_EVO_1TB_S4AALKWJDI102", "waitTillConnected": true - } + }, "actions": [ ] }