hybridgroup.gobot/driver.go

23 lines
327 B
Go

package gobot
import "fmt"
type Driver struct {
Interval string
Pin string
Name string
Params map[string]string
}
func NewDriver(d Driver) Driver {
return d
}
func (d *Driver) Connection() *interface{}{
return new(interface{})
}
func (d *Driver) Start() {
fmt.Println("Starting driver " + d.Name + "...")
}