xuzhiheng 2 years ago
parent
commit
44e4c090ea
1 changed files with 0 additions and 10 deletions
  1. 0 10
      entity/entity.go

+ 0 - 10
entity/entity.go

@@ -97,16 +97,6 @@ func InitMongo(addr, db string, size int) {
 }
 }
 
 
 func InitEs(version, address, userName, password string, size int) {
 func InitEs(version, address, userName, password string, size int) {
-	// Es = &elastic.Elastic{
-	// 	S_esurl: address,
-	// 	I_size:  size,
-	// }
-	// Es.InitElasticSize()
-	log.Println("1111 ", version)
-	log.Println("2222 ", address)
-	log.Println("3333 ", size)
-	log.Println("4444 ", userName)
-	log.Println("5555 ", password)
 	Es = elastic.NewEs(version, address, size, userName, password)
 	Es = elastic.NewEs(version, address, size, userName, password)
 }
 }