DEV Community

Discussion on: Getting Started with Go - Variables

Collapse
 
plutov profile image
Alex Pliutau

I think this post also can mention, that in Go is required that your code uses assigned variable. If not - it will panic as well. And to avoid this we can use _, like _, err := func().

Collapse
 
codehakase profile image
Francis Sunday

Yeah, I will be addressing that in a later article, thanks for checking it out though