added more context

This commit is contained in:
ashwinkumar12345 2021-08-27 13:20:59 -07:00
parent 1c4f81eb53
commit fbc0447bcd
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ go get github.com/opensearch-project/opensearch-go
## Sample code
This sample code creates a client, adds an index with non-default settings, inserts a document, searches for the document, deletes the document, and finally deletes the index:
```go
package main