X-Git-Url: https://gerrit.fd.io/r/gitweb?p=govpp.git;a=blobdiff_plain;f=README.md;fp=README.md;h=a5088f641f9cf4886c8a6bc7cf7c54c6b94cfff2;hp=a7d80d9816f69b0bd64a8f3c17c0f63735eceaa0;hb=2d07847237e754d9050f06f565baa430c70ed937;hpb=c38cb25d746736f062ee16e87f553c8a4ec5fced diff --git a/README.md b/README.md index a7d80d9..a5088f6 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ func main() { } ``` -The example above uses simple wrapper API over underlying go channels, see [example_client](examples/example_client.go) +The example above uses simple wrapper API over underlying go channels, see [example client](examples/cmd/simple-client/simple_client.go) for more examples, including the example on how to use the Go channels directly. @@ -127,7 +127,8 @@ binapi-generator --input-dir=examples/bin_api --output-dir=examples/bin_api In Go, [go generate](https://blog.golang.org/generate) tool can be leveraged to ease the code generation process. It allows to specify generator instructions in any one of the regular (non-generated) `.go` files -that are dependent on generated code using special comments, e.g. the one from [example_client](examples/example_client.go): +that are dependent on generated code using special comments, e.g. the one from +[example client](examples/cmd/simple-client/simple_client.go): ```go // go:generate binapi-generator --input-dir=bin_api --output-dir=bin_api ```