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

Side by Side Diff: impl/dummy/doc.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 unified diff | Download patch
« no previous file with comments | « helper/serialize_test.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 comtains dummy implementations of: 5 // Package dummy comtains dummy implementations of:
6 // * gae.RawDatastore 6 // * datastore.Interface
7 // * gae.Memcache 7 // * memcache.Interface
8 // * gae.TaskQueue 8 // * taskqueue.Interface
9 // * gae.GlobalInfo 9 // * info.Interface
10 // * gae.DSQuery
11 // 10 //
12 // These dummy implementations panic with an appropriate error message when 11 // These dummy implementations panic with an appropriate error message when
13 // any of their methods are called. The message looks something like: 12 // any of their methods are called. The message looks something like:
14 // dummy: method Interface.Method is not implemented 13 // dummy: method Interface.Method is not implemented
15 // 14 //
16 // The dummy implementations are useful when implementing the interfaces 15 // The dummy implementations are useful when implementing the interfaces
17 // themselves, or when implementing filters, since it allows your stub 16 // themselves, or when implementing filters, since it allows your stub
18 // implementation to embed the dummy version and then just implement the methods 17 // implementation to embed the dummy version and then just implement the methods
19 // that you care about. 18 // that you care about.
20 package dummy 19 package dummy
OLDNEW
« no previous file with comments | « helper/serialize_test.go ('k') | impl/dummy/dummy.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698