| 1 | // Copyright 2019 The Go Authors. All rights reserved. |
|---|---|
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package wire |
| 6 | |
| 7 | // This file contains type that match core proto types |
| 8 | |
| 9 | type Timestamp = string |
| 10 | |
| 11 | type Int64Value struct { |
| 12 | Value int64 `json:"value,omitempty"` |
| 13 | } |
| 14 | |
| 15 | type DoubleValue struct { |
| 16 | Value float64 `json:"value,omitempty"` |
| 17 | } |
| 18 |