From 09ac84b5c9c7f0dcbf849f66bc0dae2ed579339c Mon Sep 17 00:00:00 2001 From: Bekket Date: Sun, 18 Dec 2022 01:10:24 +0400 Subject: [PATCH] cleanup --- main.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/main.go b/main.go index db25f20..1a5e5e4 100644 --- a/main.go +++ b/main.go @@ -394,17 +394,7 @@ func UploadFileToTelegraph(file_name string) (string) { -/* -func buildFileName() { - fileUrl, err := url.Parse(fullUrlFile) - checkError(err) - - path := fileUrl.Path - segments := strings.Split(path, "/") - fileName = segments[len(segments)-1] -} -*/ func httpClient() *http.Client { client := http.Client{