aboutsummaryrefslogtreecommitdiff
path: root/src/groups
diff options
context:
space:
mode:
Diffstat (limited to 'src/groups')
-rw-r--r--src/groups/index.ts1
-rw-r--r--src/groups/user.ts6
2 files changed, 7 insertions, 0 deletions
diff --git a/src/groups/index.ts b/src/groups/index.ts
new file mode 100644
index 0000000..403a035
--- /dev/null
+++ b/src/groups/index.ts
@@ -0,0 +1 @@
+export { default as user } from "./user.ts";
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);
+}