Skip to content

Commit

Permalink
update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzoxan committed Aug 5, 2019
1 parent 10375ac commit a83696b
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,29 @@ ElasticSearch version | Elastic version | Package URL
5.x | 5.0 | [`gopkg.in/sohlich/elogrus.v2`](http://gopkg.in/sohlich/elogrus.v2)| Actively maintained.
2.x | 3.0 | [`gopkg.in/sohlich/elogrus.v1`](http://gopkg.in/sohlich/elogrus.v1)| Deprecated. Please update.

*For elastic search 7.x*
```bash
# We name v7 to align with elastic v7
go get gopkg.in/sohlich/elogrus.v7
go get github.com/olivere/elastic/v7
```

## Changelog
- elastic 7.x support (currently in master)
*For elastic search 6.x*
```bash
go get gopkg.in/sohlich/elogrus.v3
go get github.com/olivere/elastic

```

## Import
*For elastic search 5.x*
```bash
go get gopkg.in/sohlich/elogrus.v2
go get gopkg.in/olivere/elastic.v5

```
go get gopkg.in/sohlich/elogrus.v7
```

## Changelog
- elastic 7.x support (currently in master)

## Usage

Expand Down

0 comments on commit a83696b

Please sign in to comment.