From ee4df8058f6ebf8affcfb28950e89f09495e91ae Mon Sep 17 00:00:00 2001 From: Samkeet Shah <25041447+samkeet@users.noreply.github.com> Date: Tue, 24 Oct 2023 16:28:32 -0700 Subject: [PATCH] docs: update documentation typos (#127) --- cors.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cors.go b/cors.go index f0e230a..4113437 100644 --- a/cors.go +++ b/cors.go @@ -17,8 +17,8 @@ type Config struct { // Default value is [] AllowOrigins []string - // AllowOriginFunc is a custom function to validate the origin. It take the origin - // as argument and returns true if allowed or false otherwise. If this option is + // AllowOriginFunc is a custom function to validate the origin. It takes the origin + // as an argument and returns true if allowed or false otherwise. If this option is // set, the content of AllowOrigins is ignored. AllowOriginFunc func(origin string) bool