Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonboom committed Sep 16, 2021
1 parent 584f1cd commit 49ab65c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -226,8 +226,8 @@ func (r *RateLimiter) Allow() bool {
- Linter only checks funcs with two return arguments, the last of which has `error` type.
- Next types are checked:
* pointers, functions & interfaces (`panic: invalid memory address or nil pointer dereference`);
* map (`panic: assignment to entry in nil map`);
* chan (`fatal error: all goroutines are asleep - deadlock!`)
* maps (`panic: assignment to entry in nil map`);
* channels (`fatal error: all goroutines are asleep - deadlock!`)
- `uinptr` & `unsafe.Pointer` are not checked as a special case.
- Supported only explicit `return nil, nil`.
- Types from external packages are not supported.
Expand Down

0 comments on commit 49ab65c

Please sign in to comment.