Added an example in readme file for highInclusive false

This commit is contained in:
Daniel Gil 2018-07-05 09:11:34 +02:00
parent e73c928dad
commit 3e69a488f6
2 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,11 @@
# Changelog
## [0.1.1] - 2018-07-05
### Changed
- Renamed package name from 'interval' to 'intervals'
## [0.1.0] - 2018-07-03
- First release

View File

@ -144,10 +144,13 @@ Output:
go run ./example/main.go
```
This example generates an output image file exposing the data analyzed:
The following image is an example where `lowInclusive` and `highInclusive` are both `true`:
![alt text](./example/out.png)
The next image is another example where `lowInclusive` is `true` but `highInclusive` is `false`:
![alt text](./example/out2.png)
## References