Update es.go

This commit is contained in:
Ming Deng 2020-06-30 10:12:10 +08:00 committed by GitHub
parent 2117562113
commit 1c4085e7ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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"`