Skip to content

Commit 79283f2

Browse files
author
Yusuke Kato
authored
[patch] add makefile commands (#40)
Signed-off-by: kpango <[email protected]>
1 parent f8c0d8a commit 79283f2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,6 @@ test:
5252

5353
contributors:
5454
git log --format='%aN <%aE>' | sort -fu > CONTRIBUTORS
55+
56+
run:
57+
go run example/main.go

gache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ func (g *gache) Write(ctx context.Context, w io.Writer) error {
394394
})
395395
gob.Register(map[string]interface{}{})
396396

397-
// return gob.NewEncoder(lz4.NewWriter(w)).Encode(&m)
398397
return gob.NewEncoder(w).Encode(&m)
398+
// return gob.NewEncoder(lz4.NewWriter(w)).Encode(&m)
399399
}
400400

401401
// Write writes all cached data to writer

0 commit comments

Comments
 (0)