1234567891011121314151617181920 |
- package helpers
- //
- //import (
- // "git-pd.megvii-inc.com/slg-service/pms/conf"
- // "git-pd.megvii-inc.com/srgbase/goframework/base"
- //)
- //
- //var ElasticClient *base.ElasticClient
- //
- //func init() {
- // var err error
- // ElasticClient, err = base.NewElasticClient(base.ElasticClientConfig{
- // Addr: conf.Conf.Elastic.Addr,
- // User: conf.Conf.Elastic.User,
- // Password: conf.Conf.Elastic.Pass,
- // })
- // if err != nil {
- // base.PanicLogger(nil, err)
- // }
- //}
|