From 3cd94b9089c34673dc04cc9ddbcfcf542546246d Mon Sep 17 00:00:00 2001 From: Sekiju Date: Sun, 24 Mar 2024 21:49:37 +0500 Subject: [PATCH] fix: SetHeader crashing code --- options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.go b/options.go index b021811..2a9ebfe 100644 --- a/options.go +++ b/options.go @@ -9,7 +9,7 @@ type OptsFn func(*Opts) func defaultOpts() Opts { return Opts{ - Headers: make(map[string]string), + Headers: map[string]string{}, } }