jimjibone / goopenzwave

Go bindings for the openzwave library.
MIT License
13 stars 6 forks source link

Change API bool returns to error where appropriate #6

Closed jimjibone closed 8 years ago

jimjibone commented 8 years ago

The C++ OpenZWave returns a bool in some cases to indicate success/failure. It is idiomatic in Go to return the error type to represent this.

Functions that return a bool to show success/failure should instead use error.

jimjibone commented 8 years ago

Mostly done now.