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

Unified Diff: service/taskqueue/taskqueue.go

Issue 1494223002: Add API to allow you to get the non-transactional datastore or taskqueue. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: fix doc and naming Created 5 years 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/context.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/taskqueue/taskqueue.go
diff --git a/service/taskqueue/taskqueue.go b/service/taskqueue/taskqueue.go
index 5952cc98940d87f60552d99c87532cd76a4ef4f0..bf4323382ce8580837442e6fe6b1ccd42081a5d8 100644
--- a/service/taskqueue/taskqueue.go
+++ b/service/taskqueue/taskqueue.go
@@ -6,7 +6,6 @@ package taskqueue
import (
"github.com/luci/luci-go/common/errors"
- "golang.org/x/net/context"
)
type taskqueueImpl struct{ RawInterface }
@@ -80,8 +79,3 @@ func (t *taskqueueImpl) Testable() Testable {
}
var _ Interface = (*taskqueueImpl)(nil)
-
-// Get gets the Interface implementation from context.
-func Get(c context.Context) Interface {
- return &taskqueueImpl{GetRaw(c)}
-}
« no previous file with comments | « service/taskqueue/context.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698