File tree 1 file changed +23
-0
lines changed
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,29 @@ func main() {
313
313
}
314
314
}
315
315
316
+ // BOARD LIST ALL
317
+ fmt .Println ("=== calling BoardListAll(mkr)" )
318
+ boardListAllResp , err := client .BoardListAll (context .Background (), & rpc.BoardListAllReq {
319
+ Instance : instance ,
320
+ SearchArgs : []string {"mkr" },
321
+ })
322
+ if err != nil {
323
+ fmt .Printf ("Board list-all error: %s\n " , err )
324
+ os .Exit (1 )
325
+ }
326
+ fmt .Printf ("---> %+v\n " , boardListAllResp )
327
+ fmt .Println ()
328
+
329
+ // BOARD LIST
330
+ fmt .Println ("=== calling BoardList()" )
331
+ boardListResp , err := client .BoardList (context .Background (), & rpc.BoardListReq {Instance : instance })
332
+ if err != nil {
333
+ fmt .Printf ("Board list error: %s\n " , err )
334
+ os .Exit (1 )
335
+ }
336
+ fmt .Printf ("---> %+v\n " , boardListResp )
337
+ fmt .Println ()
338
+
316
339
// PLATFORM UNINSTALL
317
340
fmt .Println ("=== calling PlatformUninstall(arduino:samd)" )
318
341
uninstallRespStream , err := client .PlatformUninstall (context .Background (), & rpc.PlatformUninstallReq {
You can’t perform that action at this time.
0 commit comments