| OLD | NEW |
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 package dumper | 5 package dumper |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "fmt" | 8 "fmt" |
| 9 | 9 |
| 10 "github.com/luci/gae/impl/memory" | 10 "github.com/luci/gae/impl/memory" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 return "I AM A BANANA" | 51 return "I AM A BANANA" |
| 52 }, | 52 }, |
| 53 }, | 53 }, |
| 54 }.Query(c, nil) | 54 }.Query(c, nil) |
| 55 if err != nil { | 55 if err != nil { |
| 56 panic(err) | 56 panic(err) |
| 57 } | 57 } |
| 58 | 58 |
| 59 // Output: | 59 // Output: |
| 60 // dev~app::/Example,1: | 60 // dev~app::/Example,1: |
| 61 » // "HexNumber": [0x0014] | 61 » // "HexNumber": 0x0014 |
| 62 » // "Number": [PTInt(10)] | 62 » // "Number": PTInt(10) |
| 63 // "Vals": [ | 63 // "Vals": [ |
| 64 // PTString("hi"), | 64 // PTString("hi"), |
| 65 // PTString("there") | 65 // PTString("there") |
| 66 // ] | 66 // ] |
| 67 // | 67 // |
| 68 // dev~app::/Example,2: | 68 // dev~app::/Example,2: |
| 69 » // "HexNumber": [0x0015] | 69 » // "HexNumber": 0x0015 |
| 70 » // "Number": [PTInt(11)] | 70 » // "Number": PTInt(11) |
| 71 // "Vals": [PTString("other")] | 71 // "Vals": [PTString("other")] |
| 72 // | 72 // |
| 73 // dev~app::/Other,1: | 73 // dev~app::/Other,1: |
| 74 // I AM A BANANA | 74 // I AM A BANANA |
| 75 // | 75 // |
| 76 // dev~app::/Parent,1/Example,1: | 76 // dev~app::/Parent,1/Example,1: |
| 77 » // "HexNumber": [0x0000] | 77 » // "HexNumber": 0x0000 |
| 78 » // "Number": [PTInt(0)] | 78 » // "Number": PTInt(0) |
| 79 // "Vals": [ | 79 // "Vals": [ |
| 80 // PTString("child"), | 80 // PTString("child"), |
| 81 // PTString("ent") | 81 // PTString("ent") |
| 82 // ] | 82 // ] |
| 83 } | 83 } |
| OLD | NEW |