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

Unified Diff: prod/context.go

Issue 1243323002: Refactor a bit. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: fix golint Created 5 years, 5 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 | « memory/testing_utils_test.go ('k') | prod/datastore_key.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: prod/context.go
diff --git a/prod/context.go b/prod/context.go
deleted file mode 100644
index 337fce0759f0e41474c56166221a0bbead2aa91c..0000000000000000000000000000000000000000
--- a/prod/context.go
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package prod
-
-import (
- "golang.org/x/net/context"
-)
-
-// Use adds implementations for the following gae interfaces to the
-// context:
-// * gae.RawDatastore
-// * gae.TaskQueue
-// * gae.Memcache
-// * gae.GlobalInfo
-//
-// These can be retrieved with the gae.Get functions.
-//
-// The implementations are all backed by the real appengine SDK functionality,
-func Use(c context.Context) context.Context {
- return useRDS(useMC(useTQ(useGI(c))))
-}
« no previous file with comments | « memory/testing_utils_test.go ('k') | prod/datastore_key.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698