1C. Go - Packages
Packages need to be imported before use.
Use:
package main
import "fmt"
func main() {
fmt.Println("HELLO")
}
Packages are used in a program using the format PACKAGE.IDENTIFIER, fmt.Println(), fmt is PACKAGE, Println() is IDENTIFIER.
Comments
Post a Comment