aboutsummaryrefslogtreecommitdiff
path: root/test/formatters/samplecode/goimports/out.go
blob: e56e6796227f2270484dc3f4c4d85a91867b0372 (plain)
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)
}