Created
March 6, 2022 14:44
-
-
Save harunpeksen/ea7de9753d23339c137c08859e09bf59 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second) | |
cancel() | |
log.Printf("RPC Status : %s", ctx.Err()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment