gRPC: 5 Years Later, Is It Still Worth It?
kostyay.com69 ポイント投稿者 sudorandom33 コメント
buf convert schema.proto \
--type YourMessageName \
--from payload.binpb \
--to output.json
And just invert the arguments to convert back. buf convert schema.proto \
--type YourMessageName \
--from data.json \
--to encoded.binpb Golang: to enable all the cores, you have to put in your code runtime.GOMAXPROCS(num of cores you want to use)
This is no longer true. With Go 1.5 and higher GOMAXPROCS is set to the number of CPUs available by default.
[ my public key: https://keybase.io/sudorandom; my proof: https://keybase.io/sudorandom/sigs/lhEkaUpV37r7QzVea_cLcElODrYrTIMZezP1qIJjCro ]