fix golint errors

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