brian-armstrong / gpio

Go library to do GPIO on systems with /sys/class/gpio (sysfs)
BSD 3-Clause "New" or "Revised" License
139 stars 50 forks source link

Jack/remove exits #18

Closed everactivejack closed 3 years ago

everactivejack commented 3 years ago

Removes os.Exit(1) calls that can break functionality in favor of the more idiomatic error returns.