From the course: Beginner's Guide to Go Protocol Buffer

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Solution 1: Part 3

Solution 1: Part 3

(upbeat music) - [Instructor] Okay, so now we're going to compile and to do so we need some stuff. So first we're going to view the terminal and we're going to install some things. So first we're going to install the Go protoc generator. Next we're going to install the Go gRPC generator. So that's next. Then we're going to install Homebrew so we can install some other things. Okay, now we're going to update a profile so that we can use Homebrew. Hmm, try a different one. Okay, that one worked. Then we're going to install, brew install protobuf. And lastly we're going to install the TS proto library. We're going to compile an output to certain directories. So we're going to add the Go directory for our Go output and the TS proto directory for the TypeScript output. Next we're going to run the compiler. So this is the command. So we have the import directory, which is going to be contained within the schemas directory.…

Contents