Thursday, August 02, 2018

GoLang as a functional language

First Class Functions in Golang - golangbot.com

Golang First Class Functions
func main() {  
    a := func() {
        fmt.Println("hello world first class function")
    }
    a()
    fmt.Printf("%T", a)
}

Can Functions be passed as parameters in Go? - Stack Overflow

A Tour of Go: generic interface arguments

Functional programming - Wikipedia


Golang tutorial: Table Of Contents

No comments: