Hello World Example A Go program basically consists of the following parts − Package Declaration Import Packages Functions Variables Statements and Expressions Comments