From ad87dd53d83c11ececa40d98d9b76e5f39c5465e Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Tue, 4 Apr 2023 01:01:13 +0200 Subject: [PATCH] Fixed staticcheck errors --- src/cmd/worker/main.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/cmd/worker/main.go b/src/cmd/worker/main.go index 8924267..e0f985a 100644 --- a/src/cmd/worker/main.go +++ b/src/cmd/worker/main.go @@ -25,17 +25,17 @@ import ( ) const ( - defAppName = "basket-worker" - defLoggerAddr = "api-logger:24224" - defRegistryAddr = "api-registry:8500" - defDbURL = "postgres://postgres:12345678@postgres-db:5432/egommerce" - defCacheAddr = "api-cache:6379" - defCachePassword = "12345678" - defMongoDbURL = "mongodb://mongodb:12345678@mongo-db:27017" - defEventBusURL = "amqp://guest:guest@api-eventbus:5672" - ebEventsExchange = "api-events" - ebEventsQueue = "basket-worker" - defKVNmspc = "dev.egommerce/service/basket-worker" +// defAppName = "basket-worker" +// defLoggerAddr = "api-logger:24224" +// defRegistryAddr = "api-registry:8500" +// defDbURL = "postgres://postgres:12345678@postgres-db:5432/egommerce" +// defCacheAddr = "api-cache:6379" +// defCachePassword = "12345678" +// defMongoDbURL = "mongodb://mongodb:12345678@mongo-db:27017" +// defEventBusURL = "amqp://guest:guest@api-eventbus:5672" +// ebEventsExchange = "api-events" +// ebEventsQueue = "basket-worker" +// defKVNmspc = "dev.egommerce/service/basket-worker" ) func main() {