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

Unified Diff: service/info/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 | « impl/prod/context.go ('k') | service/memcache/context.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/info/context.go
diff --git a/service/info/context.go b/service/info/context.go
index a8eeeaab531d5705f5d0aa6d6ee1c687464e3925..85823954e71a01614cf30994c612da8a8e10f7be 100644
--- a/service/info/context.go
+++ b/service/info/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(infoKey).(Factory); ok && f != nil {
return f(c)
}
@@ -35,7 +35,7 @@ func GetUnfiltered(c context.Context) Interface {
// Get gets 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 | « impl/prod/context.go ('k') | service/memcache/context.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698