From 19b689c4345ec43c41eb1ce4732794e28a6897a8 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 8 Dec 2024 15:33:01 +0700 Subject: cmd/gorankusu: add flags to set HTTP address and development mode The flag "dev" is boolean that when set will run service in development mode, watching the adoc and ts files. The flag "http" is string that set the HTTP listen address. --- example.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example.go') diff --git a/example.go b/example.go index 1d6d1e8..8a0fcdf 100644 --- a/example.go +++ b/example.go @@ -51,7 +51,7 @@ type requestResponse struct { // // To run the example, execute // -// $ go run ./internal/cmd/gorankusu +// $ go run ./internal/cmd/gorankusu -dev // // It will run a web user interface at http://127.0.0.1:8217 . type Example struct { -- cgit v1.3