about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-02-28 18:46:12 +0100
committerEmile <hanemile@protonmail.com>2019-02-28 18:46:12 +0100
commit0935106d3f592345db89bc339198bc2cdd55f79a (patch)
tree07677e08b74798f524389714ce680a52c2ce2a3d
parente6c342f74aa4c4c7ef025f420a28c00a211cc1db (diff)
added the url arguments to the help text
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index ab2e8d2..12fc852 100644
--- a/main.go
+++ b/main.go
@@ -136,7 +136,7 @@ func generateHandler(w http.ResponseWriter, r *http.Request) {
 }
 
 func indexHandler(w http.ResponseWriter, r *http.Request) {
-	_, _ = fmt.Fprintf(w, "Generator container here!\nUse the /gen endpoint to generator a star!")
+	_, _ = fmt.Fprintf(w, "Generator container here!\nUse the /gen?num=<num>&range=<range> endpoint to generator a star!")
 }
 
 func main() {