Update proto file after change by running: protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative checks/checks.proto Default behavior is to use the current working directory as the root of the generated code. protoc --go_out=plugins=grpc:. *.proto