Skip to content

Commit

Permalink
fix rcu_cache_comp.go
Browse files Browse the repository at this point in the history
  • Loading branch information
cyclonevox committed Jul 15, 2024
1 parent edca55b commit afda8b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cache/rcu_cache/rcu_cache_comp.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import (
"sync"
)

// 本文件仅仅用几种不同的实现来实现接口,作为和rcu_cache之间的对比 并非是用于日常代码使用

type sync_cache[K comparable, V comparable] struct {
cache sync.Map
}
Expand Down

0 comments on commit afda8b9

Please sign in to comment.