xuzhiheng %!s(int64=2) %!d(string=hai) anos
pai
achega
44e4c090ea
Modificáronse 1 ficheiros con 0 adicións e 10 borrados
  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) {
-	// 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)
 }