There are two solutions to declare the variables in Golan which are as follows: var varName sort = valuevarName := valueDifference amongst var keyword and short declaration operatorvar keywordshort declaration https://bookmarks-hit.com/story18357335/top-guidelines-of-golang-file-structure