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

Side by Side Diff: impl/dummy/doc.go

Issue 1772943003: Add wrappers for the module module (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: CL comments Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « filter/featureBreaker/user.go ('k') | impl/dummy/dummy.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Package dummy provides panicking dummy implementations of all service 5 // Package dummy provides panicking dummy implementations of all service
6 // Interfaces. 6 // Interfaces.
7 // 7 //
8 // In particular, this includes: 8 // In particular, this includes:
9 // * datastore.Interface 9 // * datastore.Interface
10 // * memcache.Interface 10 // * memcache.Interface
11 // * taskqueue.Interface 11 // * taskqueue.Interface
12 // * info.Interface 12 // * info.Interface
13 // * module.Interface
13 // 14 //
14 // These dummy implementations panic with an appropriate error message when 15 // These dummy implementations panic with an appropriate error message when
15 // any of their methods are called. The message looks something like: 16 // any of their methods are called. The message looks something like:
16 // dummy: method Interface.Method is not implemented 17 // dummy: method Interface.Method is not implemented
17 // 18 //
18 // The dummy implementations are useful when implementing the interfaces 19 // The dummy implementations are useful when implementing the interfaces
19 // themselves, or when implementing filters, since it allows your stub 20 // themselves, or when implementing filters, since it allows your stub
20 // implementation to embed the dummy version and then just implement the methods 21 // implementation to embed the dummy version and then just implement the methods
21 // that you care about. 22 // that you care about.
22 package dummy 23 package dummy
OLDNEW
« no previous file with comments | « filter/featureBreaker/user.go ('k') | impl/dummy/dummy.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698