| OLD | NEW |
| 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 example | 5 package example |
| 6 | 6 |
| 7 // Crappy datastore model! | 7 // Crappy datastore model! |
| 8 | 8 |
| 9 // Counter is a stupid model which holds a single numerical value. | 9 // Counter is a stupid model which holds a single numerical value. |
| 10 type Counter struct { | 10 type Counter struct { |
| 11 ID string `datastore:"-" goon:"id"` | |
| 12 | |
| 13 Val int64 `json:",string"` | 11 Val int64 `json:",string"` |
| 14 } | 12 } |
| OLD | NEW |