# 🚀 New Blog for Gophers!

**URL:** <https://forum.golangbridge.org/t/new-blog-for-gophers/40738>\
**Category:** Community\
**Created:** [August 31, 2025, 9:20pm UTC](https://forum.golangbridge.org/t/new-blog-for-gophers/40738 "2025-08-31T21:20:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rathod](https://forum.golangbridge.org/user_avatar/forum.golangbridge.org/rathod/32/16828_2.png) [@rathod](https://forum.golangbridge.org/u/rathod)\
**Post date:** [August 31, 2025, 9:20pm UTC](https://forum.golangbridge.org/t/new-blog-for-gophers/40738/1 "2025-08-31T21:20:39Z")

</div>

I just published a detailed guide on mastering `context` in Go, sharing my journey and hard-learned lessons. If you still feel `context` is “optional” or struggle to use it effectively, this is for you!

👉 Mastering Context in Go: The Night I Learned It’s Not Optional - [Mastering Context in Go: The Night I Learned It’s Not Optional | by Rathod Veerender | Aug, 2025 | Level Up Coding](https://levelup.gitconnected.com/mastering-context-in-go-the-night-i-learned-its-not-optional-c149e0ba5d02?source=friends_link&sk=b20f308f48d10de52e0e1427897422c4)

Feedback, questions, and shares are welcome to help others in the Go community!

---

<div class="post-metadata">

**Author:** ![falco467](https://forum.golangbridge.org/user_avatar/forum.golangbridge.org/falco467/32/13340_2.png) [@falco467](https://forum.golangbridge.org/u/falco467)\
**Post date:** [September 2, 2025, 12:58pm UTC](https://forum.golangbridge.org/t/new-blog-for-gophers/40738/2 "2025-09-02T12:58:46Z")

</div>

When reading data with an API just forwarding the request.Context to all calls (maybe adding withTimeout) is usually the right way. You don’t need to do work if the client is not interested in the result anymore.  
But with writing calls you should think twice what your desired behavior on cancellation is.

Example: An API call will create a new Post and send an E-Mail about the post being created. Using the context for the database call to create the post is okay, since a cancelled context can cancel the operation. But if the database call succeeded, the E-Mail should be sent, even if the request-context has timed out or was cancelled, since it is part of a logical transaction. In this case the E-Mail should be sent with context.Background() (and a reasonable timeout)

---

<div class="post-metadata">

**Author:** ![system](https://forum.golangbridge.org/uploads/default/original/2X/5/5ad234f7c3dbc68b6cc72d338ce4f2973d9fd81c.png) [@system](https://forum.golangbridge.org/u/system)\
**Post date:** [December 4, 2025, 6:38am UTC](https://forum.golangbridge.org/t/new-blog-for-gophers/40738/4 "2025-12-04T06:38:43Z")

</div>

Closed on December 4, 2025, 6:38am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
