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) }{ {