From a20bf5c38f22813f8ba5aafb38d183ff8ac22ed2 Mon Sep 17 00:00:00 2001 From: WendelHime <6754291+WendelHime@users.noreply.github.com> Date: Wed, 16 Oct 2024 13:38:50 -0300 Subject: [PATCH] fix: removing downloader options leftover --- water/downloader.go | 2 -- water/downloader_test.go | 1 - 2 files changed, 3 deletions(-) diff --git a/water/downloader.go b/water/downloader.go index 05b176b3..151ed7eb 100644 --- a/water/downloader.go +++ b/water/downloader.go @@ -21,8 +21,6 @@ type downloader struct { httpDownloader WASMDownloader } -type DownloaderOption func(*downloader) - // NewWASMDownloader creates a new WASMDownloader instance. func NewWASMDownloader(urls []string, client *http.Client) (WASMDownloader, error) { if len(urls) == 0 { diff --git a/water/downloader_test.go b/water/downloader_test.go index 320c9d57..94e1519a 100644 --- a/water/downloader_test.go +++ b/water/downloader_test.go @@ -17,7 +17,6 @@ func TestNewWASMDownloader(t *testing.T) { name string givenURLs []string givenHTTPClient *http.Client - givenOptions []DownloaderOption assert func(*testing.T, WASMDownloader, error) }{ {