Chromium Code Reviews| Index: go/src/infra/gae/libs/wrapper/context.go |
| diff --git a/go/src/infra/gae/libs/wrapper/context.go b/go/src/infra/gae/libs/wrapper/context.go |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2651bb113c130696c698534de1faf2d430b764ec |
| --- /dev/null |
| +++ b/go/src/infra/gae/libs/wrapper/context.go |
| @@ -0,0 +1,18 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +package wrapper |
| + |
| +type key int |
| + |
| +var ( |
| + globalInfoKey = 0 |
|
M-A Ruel
2015/05/25 17:14:51
why it's not of type key?
iannucci
2015/05/26 18:25:05
DERP
|
| + |
| + datastoreKey key = 1 |
| + memcacheKey key = 2 |
| + taskQueueKey key = 3 |
| + |
| + timeNowKey key = 4 |
| + mathRandKey key = 5 |
| +) |