mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-09 20:29:23 +02:00
578ef768ab
- Remove exported interfaces unused locally - Define interfaces to accept arguments - Return concrete types, not interfaces
18 lines
275 B
Go
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,
|
|
}
|
|
}
|