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

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

Issue 2021753002: Change gae to apache 2 license. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The LUCI 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 under the Apache License, Version 2.0
3 // found in the LICENSE file. 3 // that can be 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 // * module.Interface
14 // 14 //
15 // These dummy implementations panic with an appropriate error message when 15 // These dummy implementations panic with an appropriate error message when
16 // any of their methods are called. The message looks something like: 16 // any of their methods are called. The message looks something like:
17 // dummy: method Interface.Method is not implemented 17 // dummy: method Interface.Method is not implemented
18 // 18 //
19 // The dummy implementations are useful when implementing the interfaces 19 // The dummy implementations are useful when implementing the interfaces
20 // themselves, or when implementing filters, since it allows your stub 20 // themselves, or when implementing filters, since it allows your stub
21 // 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
22 // that you care about. 22 // that you care about.
23 package dummy 23 package dummy
OLDNEW
« no previous file with comments | « filter/txnBuf/txnbuf_test.go ('k') | impl/dummy/dummy.go » ('j') | tools/proto-gae/proto_gae.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698