Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmdm authored Oct 20, 2023
1 parent e538b5b commit bd62134
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 @@ -39,7 +39,7 @@ func main() {

context.Err() // context.Canceled
context.Cause(ctx) // xcontext.SignalContextError -> context canceled: signal received: interrupt
context.SignalCause(ctx) // syscall.SIGINT (the received signal value)
xcontext.SignalCause(ctx) // syscall.SIGINT (the received signal value)
}
```

Expand Down

0 comments on commit bd62134

Please sign in to comment.