(output map[string]interface{})
| 466 | }) |
| 467 | } |
| 468 | func printJSON(output map[string]interface{}) { |
| 469 | text, err := json.Marshal(output) |
| 470 | if err != nil { |
| 471 | log.Fatalf("Broken json serialization, error: %s", err) |
| 472 | } |
| 473 | println(string(text)) |
| 474 | } |
| 475 | |
| 476 | //this is to ban these irritating "2021/04/29 14:27:59 handle_events: error: libusb: interrupted [code -10]" libusb messages |
| 477 | type LogrusWriter int |
no outgoing calls
no test coverage detected