From e6a0f1075ff8e1b57f18c53d4a6ae13408624c64 Mon Sep 17 00:00:00 2001 From: Lachlan Wilger Date: Fri, 29 Mar 2024 19:13:10 -0700 Subject: [PATCH] Add `type` keyword to imports in README code. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3719c14..dad3be0 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ defined in your application which may hold other state such as a database connection or user session. ```gleam -import wisp.{Request, Response} +import wisp.{type Request, type Response} pub type Context { Context(secret: String) @@ -41,7 +41,7 @@ handled, and the `serve_static` middleware is used to serve static files such as images and CSS. ```gleam -import wisp.{Request, Response} +import wisp.{type Request, type Response} pub fn handle_request(request: Request) -> Response { use <- wisp.log_request