From e39dbbaeaee6d3dcf40bf74aba932aacfa34fa18 Mon Sep 17 00:00:00 2001 From: LarsVomMars Date: Sun, 12 Jul 2020 18:07:59 +0200 Subject: Example code --- src/handler/user.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/handler/user.ts (limited to 'src/handler/user.ts') diff --git a/src/handler/user.ts b/src/handler/user.ts new file mode 100644 index 0000000..33b96a2 --- /dev/null +++ b/src/handler/user.ts @@ -0,0 +1,4 @@ +import type { HandlerFunc, Context } from "https://deno.land/x/abc@v1/mod.ts"; +import db from "../db/user.ts"; + +export const index: HandlerFunc = async (c: Context) => c.params.name; -- cgit v1.2.3