fix golint errors

* exported const GET should have comment or be unexported 
* if block ends with a return statement, so drop this else and outdent its block
* error strings should not end with punctuation