aboutsummaryrefslogtreecommitdiff
path: root/src/groups/user.ts
diff options
context:
space:
mode:
authorLarsVomMars2020-07-12 18:07:59 +0200
committerLarsVomMars2020-07-12 18:07:59 +0200
commite39dbbaeaee6d3dcf40bf74aba932aacfa34fa18 (patch)
tree09a40a99e40f765f569d14a7ce678df9135f27a5 /src/groups/user.ts
parent7023dc2a6920aa6389ac2b28bcdbaacdb4413e00 (diff)
Example code
Diffstat (limited to 'src/groups/user.ts')
-rw-r--r--src/groups/user.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/groups/user.ts b/src/groups/user.ts
new file mode 100644
index 0000000..ae6d2ad
--- /dev/null
+++ b/src/groups/user.ts
@@ -0,0 +1,6 @@
+import type { Group, Context } from "https://deno.land/x/abc@v1/mod.ts";
+import * as handlers from "../handler/user.ts";
+
+export default function (g: Group) {
+ g.get("/:name", handlers.index);
+}