Install package:
go install github.com/smallinsky/protoc-gen-go-mtf-mock
Pass --go-mtf-mock_out=.
flag to the protoc
proto generator with proto dir:
protoc --go_out=plugins=grpc:. --go-mtf-mock_out=. ./proto/weather/*.proto
Generate Microservice Test Framework Mocks for gRPC services
Install package:
go install github.com/smallinsky/protoc-gen-go-mtf-mock
Pass --go-mtf-mock_out=.
flag to the protoc
proto generator with proto dir:
protoc --go_out=plugins=grpc:. --go-mtf-mock_out=. ./proto/weather/*.proto