gofmt store
authornsz <nsz@port70.net>
Wed, 16 Nov 2011 14:08:38 +0000 (15:08 +0100)
committernsz <nsz@port70.net>
Wed, 16 Nov 2011 14:08:38 +0000 (15:08 +0100)
store/store.go
store/store_test.go

index b05c79e..8bdf317 100644 (file)
@@ -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
 }
index f36fcbb..da79564 100644 (file)
@@ -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) {