We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 151027e commit 913fb63Copy full SHA for 913fb63
singleflight/singleflight_test.go
@@ -411,7 +411,7 @@ func ExampleGroup() {
411
// Results are shared by functions executed with duplicate keys.
412
fmt.Println("Shared:", res2.Shared)
413
// Only the first function is executed: it is registered and started with "key",
414
- // and doesn't complete before the second funtion is registered with a duplicate key.
+ // and doesn't complete before the second function is registered with a duplicate key.
415
fmt.Println("Equal results:", res1.Val.(string) == res2.Val.(string))
416
fmt.Println("Result:", res1.Val)
417
0 commit comments