title: Is it bad practice to reset an error in golang?
body: <p>When parsing a string as text, I want any non-parseable string to result in a zero time and then carry on.</p>
  
  <pre><code>passwordLastUsed, err = time.Parse(time.RFC3339, record[lastUsed])
  if err != nil {
      err = nil
      passwordLastUsed = time.Time{}
  }
  </code></pre>
  
  <p>This code looks a bit messy and the 'ineffassign' linter returns this for the 'err = nil' statement:</p>
  
  <blockquote>
    <p>warning: ineffectual assignment to err (ineffassign)</p>
  </blockquote>
  
  <p>Is there a better way of handling this or should I just ignore the linter?</p>