Ever wondered, what is 'fmt' in the 'Print()' statement?
Well! If you see the line on the top of every program. We have an 'import' statement.
package main import "fmt" func main() { fmt.Println("Hello World") }
The 'fmt' is actually called a package, where all the functions including 'Println()' is defined.
In other words, if you want to access the 'Println()' function defined in the 'fmt' package.You have to import the 'fmt' Package first.
Then you can use 'fmt' to access the 'Println()'