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-datastore
Commits
c457b849
Unverified
Commit
c457b849
authored
Jan 28, 2019
by
Steven Allen
Committed by
GitHub
Jan 28, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #113 from ipfs/fix/transaction-interface
remove io.Closer from the transaction interface
parents
3f52705c
d16f20ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
datastore.go
datastore.go
+2
-1
No files found.
datastore.go
View file @
c457b849
...
...
@@ -171,7 +171,8 @@ type TTLDatastore interface {
// Commit has been made. Likewise, transactions can be aborted by calling
// Discard before a successful Commit has been made.
type
Txn
interface
{
Datastore
Read
Write
// Commit finalizes a transaction, attempting to commit it to the Datastore.
// May return an error if the transaction has gone stale. The presence of an
...
...
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