package main
     
import "fmt"
     
func helloGo() {
    fmt.Println("Hello Go from a Function")
     
} 
     
func main() {   
    helloGo() 
    func() { fmt.Println("Hello Go from an Anonymous Function") }()
    var hello func() = func() { fmt.Println("Hello Go from an Anonymous Function Variable") }
    hello()
} 
Categories: Uncategorized