We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15766f9 commit a7b07caCopy full SHA for a7b07ca
factorial_example_test.go
@@ -4,7 +4,7 @@ import (
4
"fmt"
5
)
6
7
-func ExampleFactorial() {
+func ExampleNew_factorial() {
8
var factorial func(uint64) uint64
9
factorial = New(func(i uint64) uint64 {
10
if i == 0 {
0 commit comments