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{