Index: go/src/infra/gae/epservice/example/model.go |
diff --git a/go/src/infra/gae/epservice/example/model.go b/go/src/infra/gae/epservice/example/model.go |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cc47fcdee3680b26f5376ca9ad495fe50c566566 |
--- /dev/null |
+++ b/go/src/infra/gae/epservice/example/model.go |
@@ -0,0 +1,14 @@ |
+// 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 example |
+ |
+// Crappy datastore model! |
+ |
+// Counter is a stupid model which holds a single numerical value. |
+type Counter struct { |
+ ID string `datastore:"-" goon:"id"` |
+ |
+ Val int64 `json:",string"` |
+} |