summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.go b/main.go
index 0631041..894a778 100644
--- a/main.go
+++ b/main.go
@@ -7,6 +7,13 @@ import (
//"strings"
)
+const (
+ DATABASE_USER = "cleaner"
+ DATABASE_PASS = "nil"
+ DATABASE_CONNECTION = "" //e.g. "tcp(localhost:55555)
+ DATABASE_NAME = "netflow"
+)
+
func main() {
conf, err := readConfig()
if err != nil {
@@ -23,7 +30,7 @@ func main() {
}
}
*/
- err = cleanData(conf)
+ err = cleanData(conf, DATABASE_USER, DATABASE_PASS, DATABASE_CONNECTION, DATABASE_NAME)
if err != nil {
log.Println(err)
}