Skip to content

Commit

Permalink
fix example function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning committed Jul 16, 2023
1 parent 6ba4794 commit fa17973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A simple memoizer for Go.
[![Build status](https://github.com/LightningDev1/go-memoizer/actions/workflows/ci.yml/badge.svg)](https://github.com/LightningDev1/go-memoizer/actions)

```go
func expensiveFunction() *any {
func expensiveFunction() (*any, error) {
// ...
}

Expand Down

0 comments on commit fa17973

Please sign in to comment.