diff options
author | Alexander Scharinger <rng.dynamics@gmail.com> | 2021-03-08 07:53:09 +0100 |
---|---|---|
committer | Alexander Scharinger <rng.dynamics@gmail.com> | 2021-03-15 07:15:00 +0100 |
commit | 93b14c509b8260d8238ec1b32394b4a03bcd1349 (patch) | |
tree | d44ed8da71d72ef2f2d085dc0937e84a74495198 /cache/repo_cache.go | |
parent | 9a8e487613d99fb102e4619cb30464342b73fee7 (diff) | |
download | git-bug-93b14c509b8260d8238ec1b32394b4a03bcd1349.tar.gz |
Remove maps containing channels.
The old implementation of the github bridge used maps to store several
channels holding data obtained from the Github API. Removing the maps and
simply packing data and channels together in a struct and passing it
through one single channel makes the program simpler in terms of
concurrency and, additionally, enables the garbage collector to free the
memory gradually without any additional provisions.
Diffstat (limited to 'cache/repo_cache.go')
0 files changed, 0 insertions, 0 deletions