aboutsummaryrefslogtreecommitdiff
path: root/examples/http-server/sample-site/random.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-01 21:15:17 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-01 21:15:17 -0400
commit428f035d9ea21d3e23dc9b96e72d3c7cd6a8c493 (patch)
treed5c141d52e60d8d7d88056ab1c98a27df13f23b5 /examples/http-server/sample-site/random.tm
parentf32d2a25c10977f52c83ddef77008afd22e7f0ce (diff)
Add http-server example
Diffstat (limited to 'examples/http-server/sample-site/random.tm')
-rwxr-xr-xexamples/http-server/sample-site/random.tm5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/http-server/sample-site/random.tm b/examples/http-server/sample-site/random.tm
new file mode 100755
index 00000000..7d183ee9
--- /dev/null
+++ b/examples/http-server/sample-site/random.tm
@@ -0,0 +1,5 @@
+#!/bin/env tomo
+use random
+
+func main():
+ say("Random: $(random:int(1,100))")