Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1302)

Unified Diff: service/taskqueue/types.go

Issue 1355783002: Refactor keys and queries in datastore service and implementation. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: appease errcheck Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « service/taskqueue/taskqueue.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/taskqueue/types.go
diff --git a/service/taskqueue/types.go b/service/taskqueue/types.go
index 7bc6a130432d3738859b8175d262995a1419691e..1ce2bf88dcbc6988090795cd98a91ceca2712a5c 100644
--- a/service/taskqueue/types.go
+++ b/service/taskqueue/types.go
@@ -98,6 +98,7 @@ type Task struct {
RetryOptions *RetryOptions
}
+// Duplicate returns a deep copy of this Task.
func (t *Task) Duplicate() *Task {
ret := *t
« no previous file with comments | « service/taskqueue/taskqueue.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698