1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-01 19:33:29 +00:00

Update es.go

This commit is contained in:
Ming Deng 2020-06-30 10:09:36 +08:00 committed by GitHub
parent 1f9da8d75b
commit 2117562113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ func NewES() logs.Logger {
// please import this package
// usually means that you can import this package in your main package
// for example, anonymous:
// _ import github.com/astaxie/beego/logs/es
// import _ github.com/astaxie/beego/logs/es
type esLogger struct {
*elasticsearch.Client
DSN string `json:"dsn"`