aboutsummaryrefslogtreecommitdiff
path: root/internal/errext
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-07-21 14:18:35 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-07-21 14:18:35 +0200
commitdc7bd11d855f0b3266612a18606801f4e09ecc09 (patch)
tree6d3d483601abc00402f7be06d4d630238128ea2b /internal/errext
parent8b2ace1c7cb82e1af923b8fc5fa7ffba820b9238 (diff)
downloadgo-schwift-dc7bd11d855f0b3266612a18606801f4e09ecc09.tar.gz
make Account.Headers and Container.Headers thread-safe
For type Object, it is a good tradeoff to not carry a mutex in every instance, since Objects are likely only used in the scope of a particular operation (and thus within an individual goroutine). But Account and Container instances are much more likely to be initialized once on startup and then shared across goroutines, so making them safer to use at the expense of a slight increase in resource usage looks like a good choice.
Diffstat (limited to 'internal/errext')
0 files changed, 0 insertions, 0 deletions