Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
comms
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
comms
Commits
bbf05522
Commit
bbf05522
authored
Aug 19, 2022
by
Jake Taylor
Browse files
Options
Downloads
Patches
Plain Diff
update README.md
parent
7e4d7e22
No related branches found
No related tags found
1 merge request
!66
Merge release into master
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+4
-8
4 additions, 8 deletions
README.md
with
4 additions
and
8 deletions
README.md
+
4
−
8
View file @
bbf05522
...
...
@@ -21,11 +21,7 @@ If glide isn't working and you don't know why, try removing glide.lock and
## Regenerate Protobuf File
To regenerate the
`mixmessage.pb.go`
file, first install gRPC:
`go get -u google.golang.org/grpc`
Then install protocol buffers v3 as follows:
Install protocol buffers v3 as follows:
-
The simplest way to do this is to download pre-compiled binaries
**for your platform**
(
`protoc-[version]-[platform].zip`
) from here:
https://github.com/google/protobuf/releases
...
...
@@ -39,7 +35,7 @@ Then install protocol buffers v3 as follows:
Next, install the protoc plugin for go with the following command:
`go get -u g
ithub.com/
golang/protobuf
/protoc-gen-go
@v1.2
2.0
`
`go get -u g
oogle.
golang
.org
/protobuf@v1.2
7.1
`
This will add the plugin to your
`go`
directory in a
`bin`
folder. You
must add this to your
`PATH`
variable in your
`.bash_profile`
, so
...
...
@@ -59,9 +55,9 @@ run the following command in the terminal in order to regenerate the
`mixmessage.pb.go`
file:
```
go get -u g
ithub.com/
golang/protobuf
/protoc-gen-go
@v1.2
2.0
go get -u g
oogle.
golang
.org
/protobuf@v1.2
7.1
cd mixmessages
protoc -I. -I
/path/to/gitlab.com
mixmessages.proto --go_opt=paths=source_relative --go_out=plugins=grpc:../mixmessages/
protoc -I. -I
../vendor/
mixmessages.proto
--go_opt=paths=source_relative --go_out=plugins=grpc:../mixmessages/
cd ..
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment