From 16da7d9e1a410c497840cba7e18ad52545656d29 Mon Sep 17 00:00:00 2001
From: Gani Georgiev <gani.georgiev@gmail.com>
Date: Wed, 6 Dec 2023 20:43:30 +0200
Subject: [PATCH] removed unused options struct

---
 tools/filesystem/file.go      | 5 -----
 tools/filesystem/file_test.go | 4 ----
 2 files changed, 9 deletions(-)

diff --git a/tools/filesystem/file.go b/tools/filesystem/file.go
index 936bdb50..a395c565 100644
--- a/tools/filesystem/file.go
+++ b/tools/filesystem/file.go
@@ -80,11 +80,6 @@ func NewFileFromMultipart(mh *multipart.FileHeader) (*File, error) {
 	return f, nil
 }
 
-type UrlOptions struct {
-	Context context.Context
-	Url     string
-}
-
 // NewFileFromUrl creates a new File from the provided url by
 // downloading the resource and load it as BytesReader.
 //
diff --git a/tools/filesystem/file_test.go b/tools/filesystem/file_test.go
index f653aa96..0303e65a 100644
--- a/tools/filesystem/file_test.go
+++ b/tools/filesystem/file_test.go
@@ -114,10 +114,6 @@ func TestNewFileFromMultipart(t *testing.T) {
 }
 
 func TestNewFileFromUrlTimeout(t *testing.T) {
-	// timeout
-	// invalid response
-	// valid response
-
 	srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
 		if r.URL.Path == "/error" {
 			w.WriteHeader(http.StatusInternalServerError)