campeon23 / split-fetcher

The code is a concurrent file downloader in Go that splits a file into multiple parts, downloads them in parallel, and assembles the final file, with support for Etag validation to ensure file integrity.
MIT License
1 stars 0 forks source link

Inconsistent Visibility of Downloader Fields #85

Open campeon23 opened 1 year ago

campeon23 commented 1 year ago
  • Package: downloader
  • Function: Downloader struct
  • Line of Code: Fields definition (Approx lines: 20-30)
  • Description: The fields within the Downloader struct are all publicly visible due to them being capitalized. Consider which fields truly need to be public and which can be private (start with a lowercase letter).

Severity: Moderate