#02 The Basic Structure of the Go file
A go file has the following parts: Package declaration Import packages main() function Example: package main import "fmt" func main() { fmt.Println("Hello World!") } package keyword defines the package name because every program is a part of t...
May 1, 20221 min read196
