FromTimestamp creates time.Time from protobuf's Timestamp.
(from *timestamppb.Timestamp)
| 32 | |
| 33 | // FromTimestamp creates time.Time from protobuf's Timestamp. |
| 34 | func FromTimestamp(from *timestamppb.Timestamp) time.Time { |
| 35 | return from.AsTime() |
| 36 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…