diff --git a/internal/model/post.proto b/internal/model/post.proto index 4257d3b..c13e372 100755 --- a/internal/model/post.proto +++ b/internal/model/post.proto @@ -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; } diff --git a/rr.sh b/rr.sh new file mode 100644 index 0000000..ea9a571 --- /dev/null +++ b/rr.sh @@ -0,0 +1,4 @@ +#!bin/bash +go mod tidy +go mod vendor +go run . diff --git a/script/complie.proto.sh b/script/complie.proto.sh new file mode 100644 index 0000000..467878b --- /dev/null +++ b/script/complie.proto.sh @@ -0,0 +1,5 @@ +#!/bin/bash +cd internal/model +protoc -I=. --go_out=. ./*.proto +cd ../.. + diff --git a/script/rr.sh b/script/rr.sh new file mode 100644 index 0000000..ea9a571 --- /dev/null +++ b/script/rr.sh @@ -0,0 +1,4 @@ +#!bin/bash +go mod tidy +go mod vendor +go run .