Skip to content

Commit

Permalink
different install method for go v1.17 and later (webrpc#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
robfordww committed Sep 29, 2022
1 parent f3a4274 commit 454e61e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ Future goals/work:

## Getting started

1. `go get -u github.com/webrpc/webrpc/cmd/webrpc-gen`
1. * for Go v1.17+: `go install github.com/webrpc/webrpc/cmd/webrpc-gen`
* for earlier versions: `go get -u github.com/webrpc/webrpc/cmd/webrpc-gen`
2. Write+design a [webrpc schema file](./_examples/golang-basics/example.ridl) for your Web service
3. Run the code-generator to create your server interface and client, ie.
* `webrpc-gen -schema=example.ridl -target=go -pkg=service -server -client -out=./service/proto.gen.go`
Expand Down

0 comments on commit 454e61e

Please sign in to comment.