Atthavit Wannasakwong

63%
Flag icon
Sometimes it’s clear that something should not be stored in a context, as it is with API server connections, but sometimes it’s not so clear. What about an authorization token? It’s immutable, and it’s likely a slice of bytes, but won’t the receivers of this data use it to determine whether to field the request? Does this data belong in a context?
Concurrency in Go: Tools and Techniques for Developers
Rate this book
Clear rating
Open Preview