Skip to content

Commit

Permalink
#Add followers Struct and Message to the model
Browse files Browse the repository at this point in the history
  • Loading branch information
JonyBepary committed Oct 21, 2023
1 parent 51e10e9 commit 2bc53a1
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 41 deletions.
66 changes: 28 additions & 38 deletions internal/model/follows.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions internal/model/follows.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ package model;
option go_package = ".;model";
import "google/protobuf/timestamp.proto";

message Follows{
string follower_id= 1;
string followee_id= 2;


message Follower{
repeated string User= 1;
bool status = 3;
google.protobuf.Timestamp time = 4 ;
}
Expand Down

0 comments on commit 2bc53a1

Please sign in to comment.