Skip to content

Commit

Permalink
lint: uncehcked err
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Mar 1, 2019
1 parent ee13ad1 commit f540d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ func ExampleLoadingCache_Get() {
}

// try to get from cache and because mykey is not in will put it
_, err = c.Get("mykey", func() (Value, error) {
_, _ = c.Get("mykey", func() (Value, error) {
fmt.Println("cache miss 1")
return "myval-1", nil
})
Expand Down

0 comments on commit f540d9f

Please sign in to comment.