(entityID string, client common.GithubClient)
| 35 | } |
| 36 | |
| 37 | func (g *GithubClientCache) SetClient(entityID string, client common.GithubClient) { |
| 38 | g.mux.Lock() |
| 39 | defer g.mux.Unlock() |
| 40 | |
| 41 | g.cache[entityID] = client |
| 42 | } |
| 43 | |
| 44 | func (g *GithubClientCache) GetClient(entityID string) (common.GithubClient, bool) { |
| 45 | g.mux.Lock() |
no test coverage detected