Skip to content

procore/gaia

Repository files navigation

Gaia

Elasticsearch client package for Go.

GoDoc Go Report Card GitHub release Contributor Covenant

Usage

To use the gaia client:

package main

import (
	"fmt"

	"github.com/procore/gaia"
)

func main() {
	config := gaia.NewConfig()
	config.Debug = true
	client := gaia.NewClient(config)
	response := client.Cat("indices")
	fmt.Println(response)
}

Testing

To run tests:

$ go test ./test/
ok  github.com/procore/gaia/test  0.046s

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About Procore

Procore Logo

Gaia is maintained by Procore Technologies.

Procore - building the software that builds the world.

Learn more about the #1 most widely used construction management software at procore.com