Skip to content

Instantly share code, notes, and snippets.

View calderonroberto's full-sized avatar

Roberto Calderon calderonroberto

View GitHub Profile
@calderonroberto
calderonroberto / composing-in.go
Last active November 30, 2015 23:31
Composing in GoLang
package main
import (
"fmt"
)
type User struct {
Name string
}
package main
import (
"fmt"
"math"
"time"
)
func fibonacci(n int) int {
a := 0