diff options
| author | Shulhan <ms@kilabit.info> | 2024-12-08 15:33:01 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-02-03 19:42:09 +0700 |
| commit | 19b689c4345ec43c41eb1ce4732794e28a6897a8 (patch) | |
| tree | 5d1417cb7483234312308701b2506bc2d5a71f37 /example.go | |
| parent | 77ce7e65d0c766c7801666b6f750c99af15df1b8 (diff) | |
| download | gorankusu-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.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |
