Move example to _example for tests

If ./example/ has code non compilable code in it from a truss run, then
go test ./... will exit non 0 from this code failing to build. This is
annoying when testing truss on the example and then trying to rerun the
tests. This fixes it by adding the _ to avoid go's tooling
This commit is contained in:
Adam Ryman 2016-11-28 05:12:15 -08:00
Родитель 5924b77e11
Коммит 67fd294675
2 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -56,7 +56,7 @@ for HTTP 1.1/JSON transport!
Then you open the `handlers/server/server_handler.go`, Then you open the `handlers/server/server_handler.go`,
add you business logic, and you're good to go. add you business logic, and you're good to go.
Here is an example service definition: [Echo Service](./example/echo.proto) Here is an example service definition: [Echo Service](./_example/echo.proto)
Try Truss for yourself on Echo Service to see the service that is generated: Try Truss for yourself on Echo Service to see the service that is generated:

Просмотреть файл