Skip to content

Commit

Permalink
refactor (#143)
Browse files Browse the repository at this point in the history
Signed-off-by: kpango <kpango@vdaas.org>
  • Loading branch information
kpango authored Nov 11, 2024
1 parent 209b650 commit 18ce4fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions gache_benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func (m *DefaultMap) Get(key interface{}) (interface{}, bool) {
func (m *DefaultMap) Set(key, val interface{}) {
m.mu.Lock()
defer m.mu.Unlock()
m.data[key] = val
}

var (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kpango/gache/v2

go 1.23.1
go 1.23.3

require (
github.com/kpango/fastime v1.1.9
Expand Down

0 comments on commit 18ce4fa

Please sign in to comment.