From faef0f2962c4e2b97131e419cd9b209322510b42 Mon Sep 17 00:00:00 2001 From: benyamin Date: Thu, 24 Aug 2023 18:06:04 +0330 Subject: [PATCH] edit args default value --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 1b3949e..9172338 100644 --- a/main.go +++ b/main.go @@ -6,10 +6,10 @@ import ( ) func main() { - svcAddr := flag.String("svc-addr", "", "service baseurl to register in logjam ( shoudln't end with / )") - src := flag.String("src", ":8080", "listenhost:listenPort") - logjamBaseUrl := flag.String("logjam-base-url", "https://example.com", "logjam base url(shouldn't end with /)") - targetRoom := flag.String("targetRoom", "testyroom", "target room") + svcAddr := flag.String("svc-addr", "http://localhost:8080", "service baseurl to register in logjam ( shouldn't end with / )") + src := flag.String("src", ":8080", "listenHost:listenPort") + logjamBaseUrl := flag.String("logjam-base-url", "http://localhost:8090", "logjam base url( shouldn't end with / )") + targetRoom := flag.String("targetRoom", "test", "target room") flag.Parse()