lunixbochs / go-keychain

Simple OS keychain bindings for password storage in Go (Golang)
MIT License
26 stars 9 forks source link

Return proper error messages #5

Closed btoews closed 7 years ago

btoews commented 7 years ago

The get_error function was always returning "Unknown error" because it was checking for success instead of !success. This PR fixes that and adds a test.

lunixbochs commented 7 years ago

thanks!