Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <[email protected]>
  • Loading branch information
testwill committed Oct 18, 2023
1 parent 95fa2ac commit 63ef7e0
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 @@ -255,7 +255,7 @@ It is possible for an application to support multiple sessions per request, with

### Enumerate All Sessions

To iterate throught all sessions, SCS offers to all data stores an `All()` function where they can return their own sessions.
To iterate through all sessions, SCS offers to all data stores an `All()` function where they can return their own sessions.
Essentially, in your code, you pass the `Iterate()` method a closure with the signature `func(ctx context.Context) error` which contains the logic that you want to execute against each session. For example, if you want to revoke all sessions with contain a `userID` value equal to `4` you can do the following:

```go
Expand Down

0 comments on commit 63ef7e0

Please sign in to comment.