List some common golang mistakes!

Hey Golang programmers!
Maybe all of you faced some common mistake when you’re coding your project!
what are the mistakes?

My most common mistake was “forgetting to add package name in import() section”

however now I am using vim-go. now this problem is no longer exists!

This is a compiled list:


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.