![Golang First Class Functions](https://golangbot.com/content/images/2018/03/first-class-functions-golang.png)
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:
Post a Comment