Skip to content

Instantly share code, notes, and snippets.

View tmonteiro's full-sized avatar

Tiago Monteiro tmonteiro

  • Matão/SP - Brasil
View GitHub Profile
@tmonteiro
tmonteiro / go_functional.go
Last active June 10, 2019 20:27 — forked from jakecoffman/go_functional.go
Example of functional programming in Golang.
package main
import "fmt"
func main() {
sum := Sum(1, 2, 3, 4)
fmt.Println(sum)
}
type any interface{}