-
-
Notifications
You must be signed in to change notification settings - Fork 111
Installation
Louis Thibault edited this page Sep 1, 2022
·
1 revision
First, install the Cap'n Proto tools.
Then, run the following commands to install the compiler plugin for the Go language:
$ go install capnproto.org/go/capnp/v3/capnpc-go@latest # install go compiler plugin
$ GO111MODULE=off go get -u capnproto.org/go/capnp/v3/ # install go-capnproto to $GOPATH
Lastly, ensure $GOPATH/bin
has been added to your shell's $PATH
variable.
If you get stuck at any point, please ask us for help!
Once you have installed capnp
and the Go plugin, you should write and compile your first schema.