style: format code across all files
This commit is contained in:
@@ -15,4 +15,3 @@ func MsgpackMarshal(v interface{}) ([]byte, error) {
|
||||
func MsgpackUnmarshal(data []byte, v interface{}) error {
|
||||
return msgpack.Unmarshal(data, v)
|
||||
}
|
||||
|
||||
|
||||
@@ -94,4 +94,3 @@ func (ai *AutoInterface) Stop() error {
|
||||
ai.Online = false
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
@@ -22,4 +22,3 @@ func escapeKISS(data []byte) []byte {
|
||||
}
|
||||
return escaped
|
||||
}
|
||||
|
||||
|
||||
@@ -27,4 +27,3 @@ func (li *LoRaInterface) Stop() error {
|
||||
func (li *LoRaInterface) Send(data []byte, address string) error {
|
||||
return fmt.Errorf("LoRaInterface is only supported on TinyGo targets currently")
|
||||
}
|
||||
|
||||
|
||||
@@ -290,4 +290,3 @@ func (li *LoRaInterface) Stop() error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
@@ -27,4 +27,3 @@ func (si *SerialInterface) Stop() error {
|
||||
func (si *SerialInterface) Send(data []byte, address string) error {
|
||||
return fmt.Errorf("SerialInterface is only supported on TinyGo targets currently")
|
||||
}
|
||||
|
||||
|
||||
@@ -219,4 +219,3 @@ func (si *SerialInterface) SendKISS(command byte, data []byte) error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
@@ -22,4 +22,3 @@ func (tc *TCPClientInterface) setTimeoutsLinux() error {
|
||||
func (tc *TCPClientInterface) setTimeoutsOSX() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
@@ -66,4 +66,3 @@ func (ui *UDPInterface) Stop() error {
|
||||
ui.Online = false
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user