This commit is contained in:
parent
dcbf450d1c
commit
26417a0702
|
@ -15,6 +15,9 @@ import (
|
|||
func main() {
|
||||
fmt.Println("Start importing...")
|
||||
|
||||
cryptoService := new(myCrypto.CryptoService)
|
||||
cryptoService.Init()
|
||||
|
||||
client, err := mongo.NewMongo()
|
||||
if err != nil {
|
||||
fmt.Printf("mongo client init fail : %v", err)
|
||||
|
@ -656,9 +659,6 @@ func main() {
|
|||
defer outfile.Close()
|
||||
writer := bufio.NewWriter(outfile)
|
||||
|
||||
cryptoService := &myCrypto.CryptoService{}
|
||||
cryptoService.Init()
|
||||
|
||||
zoneMp := make(map[int64]*dbstruct.Zone, 0)
|
||||
for _, zone := range zones {
|
||||
zoneMp[zone.GetMid()] = zone
|
||||
|
|
Loading…
Reference in New Issue