1 2 3 4 5 6 7 8 9 10 11 12
package asdfasdf import "fmt" func Factorial(x int) int { if x <= 1 { return x } fmt.Println("Hello there!") return x * Factorial(x-1) }