From 8fa7d6b7258be4f80368b4e15d8eab78f63a4e67 Mon Sep 17 00:00:00 2001 From: nsz Date: Wed, 16 Nov 2011 15:08:38 +0100 Subject: [PATCH 1/1] gofmt store --- store/store.go | 3 +-- store/store_test.go | 12 ++++++------ 2 files changed, 7 insertions(+), 8 deletions(-) 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) { -- 2.20.1