Rename streams to threads (#55)

This commit is contained in:
Asim Aslam
2021-01-29 14:11:04 +00:00
committed by GitHub
parent bdc63a699c
commit 253c153706
32 changed files with 1047 additions and 1597 deletions

22
threads/Makefile Normal file
View File

@@ -0,0 +1,22 @@
GOPATH:=$(shell go env GOPATH)
.PHONY: init
init:
go get -u github.com/golang/protobuf/proto
go get -u github.com/golang/protobuf/protoc-gen-go
go get github.com/micro/micro/v3/cmd/protoc-gen-micro
.PHONY: proto
proto:
protoc --proto_path=. --micro_out=. --go_out=:. proto/threads.proto
.PHONY: build
build:
go build -o threads *.go
.PHONY: test
test:
go test -v ./... -cover
.PHONY: docker
docker:
docker build . -t threads:latest