aboutsummaryrefslogtreecommitdiff
path: root/example.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-12-08 15:33:01 +0700
committerShulhan <ms@kilabit.info>2025-02-03 19:42:09 +0700
commit19b689c4345ec43c41eb1ce4732794e28a6897a8 (patch)
tree5d1417cb7483234312308701b2506bc2d5a71f37 /example.go
parent77ce7e65d0c766c7801666b6f750c99af15df1b8 (diff)
downloadgorankusu-19b689c4345ec43c41eb1ce4732794e28a6897a8.tar.xz
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.
Diffstat (limited to 'example.go')
-rw-r--r--example.go2
1 files changed, 1 insertions, 1 deletions
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 {