Skip to content

Commit

Permalink
Fix example code in README
Browse files Browse the repository at this point in the history
  • Loading branch information
bluele authored Jan 5, 2022
1 parent ecee3be commit d8b7e05
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 @@ -72,7 +72,7 @@ func main() {
// Wait for value to expire
time.Sleep(time.Second*10)

value, err = gc.Get("key")
value, err := gc.Get("key")
if err != nil {
panic(err)
}
Expand Down

0 comments on commit d8b7e05

Please sign in to comment.