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
d16f20ae
Commit
d16f20ae
authored
Jan 28, 2019
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove io.Closer from the transaction interface
Transactions shouldn't have to implement Close.
parent
3f52705c
Changes
1
Hide 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 @
d16f20ae
...
...
@@ -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