diff --git a/doc_source/golang-context.md b/doc_source/golang-context.md index e2898688..29edea1a 100644 --- a/doc_source/golang-context.md +++ b/doc_source/golang-context.md @@ -69,7 +69,7 @@ func LongRunningHandler(ctx context.Context) (string, error) { select { case <- timeoutChannel: - return "Finished before timing out.", nil + return "Timed out before finishing.", nil default: log.Print("hello!") @@ -81,4 +81,4 @@ func LongRunningHandler(ctx context.Context) (string, error) { func main() { lambda.Start(LongRunningHandler) } -``` \ No newline at end of file +```