Rewritten in go and python

This commit is contained in:
2024-11-06 01:25:27 +04:00
parent 9f22d9678d
commit d8449237bb
50 changed files with 3824 additions and 879 deletions

20
Makefile Normal file
View File

@@ -0,0 +1,20 @@
.SILENT:
proto-generate-go:
protoc \
-I./protos \
--go_out=./server/pkg/proto \
--go_opt=paths=source_relative \
--go-grpc_out=./server/pkg/proto \
--go-grpc_opt=paths=source_relative \
./protos/*.proto
proto-generate-py:
python -m grpc_tools.protoc \
-I./protos \
--python_out=./recommender/proto \
--pyi_out=./recommender/proto \
--grpc_python_out=./recommender/proto \
./protos/*.proto
proto-generate: proto-generate-go proto-generate-py