elastic

command
v0.0.0-...-f040508 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 7 Imported by: 0

README

elastic

go mod init github.com/fastbpmn/go-study/elastic
# go get -t github.com/elastic/go-elasticsearch/[email protected]
改为下面的方式引入,打开go.mod,加上下面这段:
require github.com/elastic/go-elasticsearch/v8 v8.0.0
然后执行:go mod tidy
  • 在main.go里引入elastic
# es "github.com/elastic/go-elasticsearch/v7"
改为下面的方式引入
es "github.com/elastic/go-elasticsearch/v8"
  • 执行单元测试
go test -v
参考资料:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL