There are 2 ways to declare the variables in Golan which happen to be as follows: var varName sort = valuevarName := valueDifference in between var keyword and quick declaration operatorvar keywordshort declaration https://bookmarks-hit.com/story18357335/top-guidelines-of-golang-file-structure