projects
/
epoint
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
59a3cf3
)
gofmt store
author
nsz
<nsz@port70.net>
Wed, 16 Nov 2011 14:08:38 +0000
(15:08 +0100)
committer
nsz
<nsz@port70.net>
Wed, 16 Nov 2011 14:08:38 +0000
(15:08 +0100)
store/store.go
patch
|
blob
|
history
store/store_test.go
patch
|
blob
|
history
diff --git
a/store/store.go
b/store/store.go
index
b05c79e
..
8bdf317
100644
(file)
--- a/
store/store.go
+++ b/
store/store.go
@@
-8,12
+8,11
@@
package store
// TODO: this is a toy implementation
import (
// TODO: this is a toy implementation
import (
+ "io/ioutil"
"os"
"path/filepath"
"os"
"path/filepath"
- "io/ioutil"
)
)
-
type Conn struct {
path string
}
type Conn struct {
path string
}
diff --git
a/store/store_test.go
b/store/store_test.go
index
f36fcbb
..
da79564
100644
(file)
--- a/
store/store_test.go
+++ b/
store/store_test.go
@@
-4,12
+4,12
@@
import (
"testing"
)
"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) {
}
func TestStore(t *testing.T) {