From: nsz Date: Wed, 16 Nov 2011 14:08:38 +0000 (+0100) Subject: gofmt store X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;ds=sidebyside;h=8fa7d6b7258be4f80368b4e15d8eab78f63a4e67;hp=59a3cf3ee57735430af09be01402bf11561b2167;p=epoint gofmt store --- diff --git a/store/store.go b/store/store.go index b05c79e..8bdf317 100644 --- a/store/store.go +++ b/store/store.go @@ -8,12 +8,11 @@ package store // TODO: this is a toy implementation import ( + "io/ioutil" "os" "path/filepath" - "io/ioutil" ) - type Conn struct { path string } diff --git a/store/store_test.go b/store/store_test.go index f36fcbb..da79564 100644 --- a/store/store_test.go +++ b/store/store_test.go @@ -4,12 +4,12 @@ import ( "testing" ) -var testData = map[string]string { - "A" : "a", - "B" : "b", - "C" : "c", - "D" : "d", - "foo_bar-baz" : "a\nb\nc\nd\n", +var testData = map[string]string{ + "A": "a", + "B": "b", + "C": "c", + "D": "d", + "foo_bar-baz": "a\nb\nc\nd\n", } func TestStore(t *testing.T) {