mirror of
https://github.com/vale981/apheleia
synced 2025-03-06 10:01:41 -05:00

* Add gofumpt and goimports as formatter options * Add tests for gofumpt and goimports * changelog Co-authored-by: Radon Rosborough <radon@intuitiveexplanations.com>
8 lines
102 B
Go
8 lines
102 B
Go
package asdfasdf
|
|
|
|
func Factorial(x int) int {
|
|
if x <= 1 {
|
|
return x
|
|
}
|
|
return x * Factorial(x-1)
|
|
}
|