From 0c67b2b0730c9b3cf6864fbbab943c473fb46870 Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Fri, 11 Oct 2024 00:01:33 +0200 Subject: [PATCH] Add a link to simple_routes test file. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a8b17d7..5e25cbb 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ exe.root_module.addImport("zouter", zdotenv.module("zouter")); ### Example -Here is a quick example of how to set up a router. It is an extract from the full test code at [`example.zig`](https://code.zeptotech.net/zedd/zouter/src/branch/main/tests/example.zig). +Here is a quick example of how to set up a router. It is an extract from the full test code at [`example.zig`](https://code.zeptotech.net/zedd/zouter/src/branch/main/tests/example.zig). You may want to have a look to [`simple_routes.zig`](https://code.zeptotech.net/zedd/zouter/src/branch/main/tests/simple_routes.zig) which shows more advanced features. ```zig /// GET /foo/:arg/bar request handler.