Is there a way to ignore an error return value in Golang?
<p>I'm trying to initialize a struct in Go, one of my values is being which returns both an int and an error if one was encountered converted from a string using <code>strconv.Atoi("val")</code>.</p>

<p>My question is : Is there a way to ignore an error return value in Golang?</p>

<pre><code>ts := &amp;student{
    name: td[0],
    ssn: td[2],
    next: students.next,
    age: strconv.Atoi(td[1]),
  }
</code></pre>

<p>which gives the error</p>

<pre><code>multiple-value strconv.Atoi() in single-value context
</code></pre>

<p>if I add in the err, which i don't want to include in my struct, I will get an error that I am using a method that is not defined in the struct.</p>