Posts Tagged ‘pi day’



Every Go program is made up of packages.

Programs start running in package main.

This program is using the packages with import paths "fmt" and"math".

By convention, the package name is the same as the last element of the import path.


package main

import (

func main() {
fmt.Println(“Happy”, math.Pi, “Day”)

output :

Happy 3.141592653589793 Day