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
80bb555d
Commit
80bb555d
authored
Apr 06, 2019
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: document semantics of Result/Error
parent
bce485ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
query/query.go
query/query.go
+2
-1
No files found.
query/query.go
View file @
80bb555d
...
@@ -75,7 +75,8 @@ type Entry struct {
...
@@ -75,7 +75,8 @@ type Entry struct {
}
}
// Result is a special entry that includes an error, so that the client
// Result is a special entry that includes an error, so that the client
// may be warned about internal errors.
// may be warned about internal errors. If Error is non-nil, Entry must be
// empty.
type
Result
struct
{
type
Result
struct
{
Entry
Entry
...
...
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