Skip to content

Commit

Permalink
chore: correct README
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
  • Loading branch information
rustatian committed Jul 9, 2023
1 parent e7681ac commit 77d2b70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@

To install and use generated packages:
```bash
go get github.com/roadrunner-server/api/build/<API_NAME>/v1
go get github.com/roadrunner-server/api/v4/build/<API_NAME>/v1
```

The Proto API is used for external integrations, mostly for RPC or as internal communications. For example:
```go
package foo

import (
jobsv1 "github.com/roadrunner-server/api/build/jobs/v1"
jobsv1 "github.com/roadrunner-server/api/v4/build/jobs/v1"
)

func Push(in *jobsv1.PushRequest, out *jobsv1.Empty) error {
Expand Down

0 comments on commit 77d2b70

Please sign in to comment.