Skip to content

Commit a7b07ca

Browse files
committed
follow example name convention
1 parent 15766f9 commit a7b07ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

factorial_example_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
)
66

7-
func ExampleFactorial() {
7+
func ExampleNew_factorial() {
88
var factorial func(uint64) uint64
99
factorial = New(func(i uint64) uint64 {
1010
if i == 0 {

0 commit comments

Comments
 (0)