1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 09:00:55 +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 // please import this package
// usually means that you can import this package in your main package // usually means that you can import this package in your main package
// for example, anonymous: // for example, anonymous:
// _ import github.com/astaxie/beego/logs/es // import _ github.com/astaxie/beego/logs/es
type esLogger struct { type esLogger struct {
*elasticsearch.Client *elasticsearch.Client
DSN string `json:"dsn"` DSN string `json:"dsn"`