9 randCaches = make(map[int]int)
10 randCachesMu sync.Mutex
13func cachedRandN(n int) int {
15 defer randCachesMu.Unlock()
17 if n, ok := randCaches[n]; ok {
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list