Serialize structs in protobuf

This commit is contained in:
Ken Hibino
2021-03-11 19:07:58 -08:00
committed by GitHub
parent 4c2c98db78
commit c4de2cfbe9
11 changed files with 1415 additions and 68 deletions

7
Makefile Normal file
View File

@@ -0,0 +1,7 @@
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
proto: internal/proto/asynq.proto
protoc -I=$(ROOT_DIR)/internal/proto \
--go_out=$(ROOT_DIR)/internal/proto \
--go_opt=module=github.com/hibiken/asynq/internal/proto \
$(ROOT_DIR)/internal/proto/asynq.proto