Browse Source

refactoring

Hal De 3 năm trước cách đây
mục cha
commit
3a6ea6ec9f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -52,7 +52,7 @@ func getDBConnectionParams() (string, error) {
   }
 
   con = fmt.Sprintf("%s:%s@tcp(%s)/%s", res["AMPDBUSER"], res["AMPDBPASS"], res["AMPDBHOST"], res["AMPDBNAME"])
-
+  fmt.Fprintf(os.Stderr, "%s:%s@tcp(%s)/%s", res["AMPDBUSER"], res["AMPDBPASS"], res["AMPDBHOST"], res["AMPDBNAME"])
   return con, nil
 }