1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-27 13:48:56 +08:00
hybridgroup.gobot/firmata/test_helper.go

14 lines
214 B
Go
Raw Normal View History

package gobotFirmata
type sp struct{}
func (me sp) Write(b []byte) (int, error) {
return len(b), nil
}
func (me sp) Read(b []byte) (int, error) {
return len(b), nil
}
func (me sp) Close() error {
return nil
}