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

Unified Diff: doc.go

Issue 1270063003: Make the rest of the services have a similar raw/user interface structure. (Closed) Base URL: https://github.com/luci/gae.git@add_datastore
Patch Set: address comments Created 5 years, 4 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 | « no previous file | filter/count/count_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: doc.go
diff --git a/doc.go b/doc.go
index 0131c449d5d974a233bb9140752c1f22d77c3d66..de4c3a8152620eab1e49abc6558ae13fa72aea05 100644
--- a/doc.go
+++ b/doc.go
@@ -103,7 +103,9 @@
// service.RawInterface - the internal service interface used by service
// and filter implementations. Note that some services
// like Info don't distinguish between the service
-// interface and the user interface.
+// interface and the user interface. This interface is
+// typically a bit lower level than Interface and
+// lacks convenience methods.
//
// service.Testable - any additional methods that a 'testing'
// implementation should provide. It's expected that
@@ -132,9 +134,9 @@
// Interface for a service are fully interchangable and
// usage of them can be freely mixed in an application.
//
-// service.AddRawFilters - adds one or more Filters to the context.
+// service.AddRawFilters - adds one or more RawFilters to the context.
//
-// service.SetRawFactory - adds a Factory to the context
+// service.SetRawFactory - adds a RawFactory to the context
//
// service.SetRaw - adds an implementation of RawInterface to the context
// (shorthand for SetRawFactory, useful for testing)
« no previous file with comments | « no previous file | filter/count/count_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698