aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/db.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/db.go b/db/db.go
index 14b0f11..1d64bf7 100644
--- a/db/db.go
+++ b/db/db.go
@@ -45,4 +45,6 @@ func init() {
if err != nil {
log.Fatalf("\x1b[41m\x1b[30m[err]\x1b[0m cannot to connect to database, exiting.\n%v\n", err)
}
+
+ log.Printf("\x1b[46m\x1b[30m[info]\x1b[0m Successfully Connected To Database \"%v\"\n", conf["db_name"])
}