Files
gluetun/internal/updater/unzip/unzip.go
Quentin McGaw 578ef768ab chore(all): return concrete types, accept interfaces
- Remove exported interfaces unused locally
- Define interfaces to accept arguments
- Return concrete types, not interfaces
2022-06-11 01:34:30 +00:00

18 lines
275 B
Go

// Package unzip defines the Unzipper which fetches and extract a zip file
// containing multiple files.
package unzip
import (
"net/http"
)
type Unzipper struct {
client *http.Client
}
func New(client *http.Client) *Unzipper {
return &Unzipper{
client: client,
}
}