Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3-blockstore
Commits
4da9b7e9
Commit
4da9b7e9
authored
Jun 05, 2018
by
Kevin Atkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IdStore => NewIdStore
parent
7ba14789
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
idstore.go
idstore.go
+1
-1
idstore_test.go
idstore_test.go
+1
-1
No files found.
idstore.go
View file @
4da9b7e9
...
...
@@ -13,7 +13,7 @@ type idstore struct {
bs
Blockstore
}
func
IdStore
(
bs
Blockstore
)
Blockstore
{
func
New
IdStore
(
bs
Blockstore
)
Blockstore
{
return
&
idstore
{
bs
}
}
...
...
idstore_test.go
View file @
4da9b7e9
...
...
@@ -12,7 +12,7 @@ import (
func
createTestStores
()
(
Blockstore
,
*
callbackDatastore
)
{
cd
:=
&
callbackDatastore
{
f
:
func
()
{},
ds
:
ds
.
NewMapDatastore
()}
ids
:=
IdStore
(
NewBlockstore
(
cd
))
ids
:=
New
IdStore
(
NewBlockstore
(
cd
))
return
ids
,
cd
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment