Packages and Imports
This lesson explains how to import different libraries and packages in GO
We'll cover the following...
Packages
Every Go program is made up of packages.
Programs start running in package main.
Go (1.6.2)
package mainimport "fmt"func main() {fmt.Printf("Hello, World!\n")}
If you are writing an executable code (versus a library), then you need
to define a main package and a main() function which ...
Ask