This is interesting. I would like to write some snaps using gobot that
work on raspberry pi and beaglebone black.

The only difference should be the line where the adaptor is defined:
https://github.com/hybridgroup/gobot/blob/master/examples/beaglebone_blink.go#L12

Can I query the snappy system to see which is the current gadget? That
would let me define the adaptor in a conditional, and use a single
codebase for both boards.

-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to