From e16221c971d0c2c4cda2e5cea7b088a2ebeee68f 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 }