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

Unified Diff: impl/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 | « impl/memory/testing_utils_test.go ('k') | impl/prod/datastore_key.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/prod/context.go
diff --git a/prod/context.go b/impl/prod/context.go
similarity index 53%
rename from prod/context.go
rename to impl/prod/context.go
index 337fce0759f0e41474c56166221a0bbead2aa91c..401e10ef5a2f5a1583a8e4841bb5bc0bc8a287c4 100644
--- a/prod/context.go
+++ b/impl/prod/context.go
@@ -8,14 +8,15 @@ 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
+// Use adds production implementations for all the gae services to the context.
//
-// These can be retrieved with the gae.Get functions.
+// The services added are:
+// - github.com/luci/gae/service/rawdatastore
+// - github.com/luci/gae/service/taskqueue
+// - github.com/luci/gae/service/memcache
+// - github.com/luci/gae/service/info
+//
+// These can be retrieved with the <service>.Get functions.
//
// The implementations are all backed by the real appengine SDK functionality,
func Use(c context.Context) context.Context {
« no previous file with comments | « impl/memory/testing_utils_test.go ('k') | impl/prod/datastore_key.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698