From 174306702ad2f1a5524499e56e0076c31ca04fc9 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 16 Mar 2024 15:30:05 +0100 Subject: [PATCH] Cleaned up context interface --- Context.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Context.go b/Context.go index 6da6e30..26e5942 100644 --- a/Context.go +++ b/Context.go @@ -12,13 +12,13 @@ import ( type Context interface { Copy(io.Reader) error Bytes([]byte) error - Error(messages ...any) error - File(path string) error - Get(param string) string + Error(...any) error + File(string) error + Get(string) string Next() error Request() Request Response() Response - Status(status int) Context + Status(int) Context String(string) error }