Skip to content

Commit fa17973

Browse files
author
Lightning
committed
fix example function signature
1 parent 6ba4794 commit fa17973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A simple memoizer for Go.
77
[![Build status](https://github.com/LightningDev1/go-memoizer/actions/workflows/ci.yml/badge.svg)](https://github.com/LightningDev1/go-memoizer/actions)
88

99
```go
10-
func expensiveFunction() *any {
10+
func expensiveFunction() (*any, error) {
1111
// ...
1212
}
1313

0 commit comments

Comments
 (0)