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

Side by Side Diff: filter/count/count.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 unified diff | Download patch
« no previous file with comments | « doc.go ('k') | filter/count/count_test.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 count contains 'counter' filters for all the gae services. This 5 // Package count contains 'counter' filters for all the gae services. This
6 // serves as a set of simple example filters, and also enables other filters 6 // serves as a set of simple example filters, and also enables other filters
7 // to test to see if certain underlying APIs are called when they should be 7 // to test to see if certain underlying APIs are called when they should be
8 // (e.g. for the datastore mcache filter, for example). 8 // (e.g. for the datastore mcache filter, for example).
9 package count 9 package count
10 10
(...skipping 17 matching lines...) Expand all
28 if len(errs) > 0 { 28 if len(errs) > 0 {
29 err = errs[0] 29 err = errs[0]
30 } 30 }
31 if err == nil { 31 if err == nil {
32 atomic.AddInt64(&e.Successes, 1) 32 atomic.AddInt64(&e.Successes, 1)
33 } else { 33 } else {
34 atomic.AddInt64(&e.Errors, 1) 34 atomic.AddInt64(&e.Errors, 1)
35 } 35 }
36 return err 36 return err
37 } 37 }
OLDNEW
« no previous file with comments | « doc.go ('k') | filter/count/count_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698