From 8a44d79ff050493b8d1d175f552f8688ff668636 Mon Sep 17 00:00:00 2001 From: namhq1989 Date: Wed, 16 Nov 2022 09:53:19 +0700 Subject: [PATCH] remove lib color --- go.mod | 5 +---- go.sum | 2 -- zookeeper.go | 3 +-- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index cd2588a..c40e8f5 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,4 @@ module git.selly.red/Selly-Modules/zookeeper go 1.16 -require ( - github.com/logrusorgru/aurora v2.0.3+incompatible - github.com/samuel/go-zookeeper v0.0.0-20201211165307-7117e9ea2414 -) +require github.com/samuel/go-zookeeper v0.0.0-20201211165307-7117e9ea2414 diff --git a/go.sum b/go.sum index a02ec3b..6f2ce03 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,2 @@ -github.com/logrusorgru/aurora v2.0.3+incompatible h1:tOpm7WcpBTn4fjmVfgpQq0EfczGlG91VSDkswnjF5A8= -github.com/logrusorgru/aurora v2.0.3+incompatible/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4= github.com/samuel/go-zookeeper v0.0.0-20201211165307-7117e9ea2414 h1:AJNDS0kP60X8wwWFvbLPwDuojxubj9pbfK7pjHw0vKg= github.com/samuel/go-zookeeper v0.0.0-20201211165307-7117e9ea2414/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= diff --git a/zookeeper.go b/zookeeper.go index 0d22047..06a32bb 100644 --- a/zookeeper.go +++ b/zookeeper.go @@ -4,7 +4,6 @@ import ( "fmt" "time" - "github.com/logrusorgru/aurora" "github.com/samuel/go-zookeeper/zk" ) @@ -18,7 +17,7 @@ func Connect(uri string) error { return err } - fmt.Println(aurora.Green("*** CONNECTED TO ZOOKEEPER: " + uri)) + fmt.Printf("⚡️[zookeeper]: connected to %s \n", uri) // Set client zkClient = c