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

Unified Diff: service/taskqueue/context.go

Issue 1247283003: Improve docs (Closed) Base URL: https://github.com/luci/gae.git@reduce_size
Patch Set: fix comments 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 | « service/rawdatastore/serialize_test.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/taskqueue/context.go
diff --git a/service/taskqueue/context.go b/service/taskqueue/context.go
index f71fc461571bdd6b7b7c9754b3e0776dfa430d2d..ca195fb062206cafeb516f0b6d5e2af7fcc3c0c6 100644
--- a/service/taskqueue/context.go
+++ b/service/taskqueue/context.go
@@ -24,9 +24,9 @@ type Factory func(context.Context) Interface
// backed by the one passed in.
type Filter func(context.Context, Interface) Interface
-// GetUnfiltered gets gets the Interface implementation from context without
+// getUnfiltered gets gets the Interface implementation from context without
// any of the filters applied.
-func GetUnfiltered(c context.Context) Interface {
+func getUnfiltered(c context.Context) Interface {
if f, ok := c.Value(taskQueueKey).(Factory); ok && f != nil {
return f(c)
}
@@ -35,7 +35,7 @@ func GetUnfiltered(c context.Context) Interface {
// Get gets the Interface implementation from context.
func Get(c context.Context) Interface {
- ret := GetUnfiltered(c)
+ ret := getUnfiltered(c)
if ret == nil {
return nil
}
« no previous file with comments | « service/rawdatastore/serialize_test.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698