Skip to content

Instantly share code, notes, and snippets.

View jlopezzarza's full-sized avatar
🦁

Jorge López Zarza jlopezzarza

🦁
View GitHub Profile
@jlopezzarza
jlopezzarza / esClient.go
Created March 26, 2019 20:22
Basic search in ES with the elastic/go-elasticsearch client
package main
import (
"encoding/json"
"fmt"
"log"
"os"
"strings"
"github.com/elastic/go-elasticsearch"