Skip to content

Commit 054ef44

Browse files
authored
Fix the example/ directory link (#416)
1 parent e2a50c5 commit 054ef44

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

example/README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Example
22

3-
The [`example/`](ex) directory of elixir-thrift contains an implementation of a simple calculator service. It serves two purposes:
3+
The [`example/`][ex] directory of elixir-thrift contains an implementation of a simple calculator service. It serves two purposes:
44

55
1. How to use this library.
66
2. Example of what elixir-thrift generated code looks like.
77

8-
[ex]: https://github.com/pinterest/elixir-thrift/example
8+
[ex]: https://github.com/pinterest/elixir-thrift/tree/master/example
99

1010
## Calculator Service
1111

12-
The service is very simple, and implements the four basic arithmetic operations: addition, subtraction, multiplication, and division. It demonstrates [how to add a Thrift server to a supervision tree](supervisor), and [how to write a handler](handler) for a [service defined in Thrift](thrift-defs). It also demonstrates how to use exceptions by implementing a division-by-zero exception.
12+
The service is very simple, and implements the four basic arithmetic operations: addition, subtraction, multiplication, and division. It demonstrates [how to add a Thrift server to a supervision tree][supervisor], and [how to write a handler][handler] for a [service defined in Thrift][thrift-defs]. It also demonstrates how to use exceptions by implementing a division-by-zero exception.
1313

14-
For client usage, you should consult the [test cases](tests) to see how to make requests to a Thrift service.
14+
For client usage, you should consult the [test cases][tests] to see how to make requests to a Thrift service.
1515

16-
[handler]: https://github.com/pinterest/elixir-thrift/example/lib/calculator/service_handler.ex
17-
[supervisor]: https://github.com/pinterest/elixir-thrift/example/lib/calculator/application.ex
18-
[tests]: https://github.com/pinterest/elixir-thrift/example/test/calculator_test.exs
19-
[thrift-defs]: https://github.com/pinterest/elixir-thrift/example/thrift/calculator.thrift
16+
[handler]: https://github.com/pinterest/elixir-thrift/tree/master/example/lib/calculator/service_handler.ex
17+
[supervisor]: https://github.com/pinterest/elixir-thrift/tree/master/example/lib/calculator/application.ex
18+
[tests]: https://github.com/pinterest/elixir-thrift/tree/master/example/test/calculator_test.exs
19+
[thrift-defs]: https://github.com/pinterest/elixir-thrift/tree/master/example/thrift/calculator.thrift

0 commit comments

Comments
 (0)