1
0
Fork 0
mirror of https://github.com/kidoman/embd synced 2025-07-03 03:47:33 +02:00

make the framework easier to begin with

This commit is contained in:
Karan Misra 2014-03-01 20:19:44 +05:30
parent ef87ad7879
commit 3d08995000
26 changed files with 237 additions and 170 deletions

View file

@ -1,15 +1,10 @@
package host
import (
"errors"
"github.com/kidoman/embd/gpio"
"github.com/kidoman/embd/i2c"
)
import "errors"
type Descriptor struct {
GPIO func() gpio.GPIO
I2C func() i2c.I2C
GPIO func() interface{}
I2C func() interface{}
}
type Describer func(rev int) *Descriptor