groupcache/proto.sh
Derrick J. Wippler 48a0ce2463 Get() now returns immediately when context is done
* `Get()` now returns immediately when context is done during a groupcache peer
  conversation. Previously `Get()` would call the `Getter` with a done context.
2019-06-10 14:16:39 -05:00

17 lines
243 B
Bash
Executable File

#! /bin/sh
# Make sure the script fails fast.
set -e
set -u
set -x
PROTO_DIR=groupcachepb
protoc -I=$PROTO_DIR \
--go_out=$PROTO_DIR \
$PROTO_DIR/groupcache.proto
protoc -I=$PROTO_DIR \
--go_out=. \
$PROTO_DIR/example.proto