From 589eefd4f452f2bdb7cb2df841a548d5f6e2d48a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E6=99=A8?= Date: Wed, 6 Dec 2017 21:58:25 +0800 Subject: [PATCH] gofmt (#35) --- cache.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cache.go b/cache.go index bf81bd52..cd95e548 100644 --- a/cache.go +++ b/cache.go @@ -1,11 +1,11 @@ package core import ( + "bytes" + "encoding/gob" "errors" "fmt" "time" - "bytes" - "encoding/gob" ) const ( @@ -55,7 +55,6 @@ func encodeIds(ids []PK) (string, error) { return buf.String(), err } - func decodeIds(s string) ([]PK, error) { pks := make([]PK, 0)