Skip to content

Commit

Permalink
added note on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
matryer committed Feb 23, 2020
1 parent 4c7213b commit c0fcdd3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ Go driven rpc code generation tool for right now.

## Tutorial

Write your service definition as a Go interface:
Install the project:

```
go install github.com/pacedotdev/oto
```

Create a project folder, and write your service definition as a Go interface:

```go
package definitions
Expand Down Expand Up @@ -37,6 +43,8 @@ oto -template ./otohttp/templates/server.go.plush \
gofmt -w ./api/oto.gen.go ./api/oto.gen.go
```

* Run `oto -help` for more information about these flags

Implement the service in Go:

```go
Expand Down

0 comments on commit c0fcdd3

Please sign in to comment.