Skip to content

Commit 7e10896

Browse files
committed
Readme improved.
1 parent 8e0b1f6 commit 7e10896

File tree

2 files changed

+7
-21
lines changed

2 files changed

+7
-21
lines changed

README.md

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Expressions
22

3+
## Usage
4+
5+
![Something to understand how works ...](about.png)
6+
7+
See more [examples](https://github.com/ZenAlgorithms/Expressions/blob/master/tests/implementation_test.cc) ...
8+
39
## Build
410

511
```shell
@@ -10,24 +16,4 @@ cd build
1016
cmake ..
1117
make
1218
make install
13-
```
14-
15-
## Usage
16-
17-
```c++
18-
#include <expressions/container.hpp>
19-
20-
using namespace std;
21-
22-
auto _container = expressions::container::from_string("/api/servers/{server}/status");
23-
24-
auto _result = _container->query("/api/servers/production/status");
25-
26-
cout << _result->matches() << endl;
27-
// 1
28-
29-
cout << _result->bindings()->at("server") << endl;
30-
// production
31-
```
32-
33-
See more [examples](https://github.com/ZenAlgorithms/Expressions/blob/master/tests/implementation_test.cc) ...
19+
```

about.png

179 KB
Loading

0 commit comments

Comments
 (0)