mirror of
https://github.com/aykhans/slash-e.git
synced 2025-06-15 12:27:49 +00:00
chore: use protobuf timestamp
This commit is contained in:
@ -6,6 +6,7 @@ import "api/v2/common.proto";
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/client.proto";
|
||||
import "google/protobuf/field_mask.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option go_package = "gen/api/v2";
|
||||
|
||||
@ -46,9 +47,9 @@ message Shortcut {
|
||||
|
||||
int32 creator_id = 2;
|
||||
|
||||
int64 created_ts = 3;
|
||||
google.protobuf.Timestamp created_time = 3;
|
||||
|
||||
int64 updated_ts = 4;
|
||||
google.protobuf.Timestamp updated_time = 4;
|
||||
|
||||
RowStatus row_status = 5;
|
||||
|
||||
|
@ -64,9 +64,9 @@ message User {
|
||||
|
||||
RowStatus row_status = 2;
|
||||
|
||||
int64 created_ts = 3;
|
||||
google.protobuf.Timestamp created_time = 3;
|
||||
|
||||
int64 updated_ts = 4;
|
||||
google.protobuf.Timestamp updated_time = 4;
|
||||
|
||||
Role role = 6;
|
||||
|
||||
|
Reference in New Issue
Block a user