davecheney / gpio

GPIO for Go
BSD 2-Clause "Simplified" License
228 stars 52 forks source link

Capture error in Set() and Clear() #13

Closed alext closed 10 years ago

alext commented 10 years ago

Any error state from the File.Write() method was being ignored instead of being stored so that it could be queried by Err().

davecheney commented 10 years ago

LGTM. Thanks