From fad6e9637ce59db43fd744cd1d15e0da935c251a Mon Sep 17 00:00:00 2001 From: Shinku <17696928+Shinku-Chen@users.noreply.github.com> Date: Fri, 25 Oct 2024 17:35:36 +0800 Subject: [PATCH] Fix export CreateFormReader function --- colly.go | 1 + 1 file changed, 1 insertion(+) diff --git a/colly.go b/colly.go index e769f083..83fc3403 100644 --- a/colly.go +++ b/colly.go @@ -1444,6 +1444,7 @@ func SanitizeFileName(fileName string) string { ), "-", "_", -1) } +// CreateFormReader creates a form reader from a map. func CreateFormReader(data map[string]string) io.Reader { form := url.Values{} for k, v := range data {