Removed unnecessary else statement
Added godoc badge