(entityID string)
| 52 | } |
| 53 | |
| 54 | func (g *GithubClientCache) DeleteClient(entityID string) { |
| 55 | g.mux.Lock() |
| 56 | defer g.mux.Unlock() |
| 57 | |
| 58 | delete(g.cache, entityID) |
| 59 | } |
| 60 | |
| 61 | func SetGithubClient(entityID string, client common.GithubClient) { |
| 62 | ghClientCache.SetClient(entityID, client) |
no test coverage detected