Skip to content

Commit

Permalink
#Added Post and Script
Browse files Browse the repository at this point in the history
  • Loading branch information
JonyBepary committed Nov 8, 2023
1 parent f4d3ba2 commit 99e92fb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/model/post.proto
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ message Post {

// Indicates if the poll hides the total number of votes.
bool is_poll_hide_totals = 33;

// Fragmented key if available.
string FragmentationKey = 34;
}
4 changes: 4 additions & 0 deletions rr.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!bin/bash
go mod tidy
go mod vendor
go run .
5 changes: 5 additions & 0 deletions script/complie.proto.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
cd internal/model
protoc -I=. --go_out=. ./*.proto
cd ../..

4 changes: 4 additions & 0 deletions script/rr.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!bin/bash
go mod tidy
go mod vendor
go run .

0 comments on commit 99e92fb

Please sign in to comment.