diff options
Diffstat (limited to 'internal/github/github.go')
-rw-r--r-- | internal/github/github.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/github/github.go b/internal/github/github.go index bf35a6a..b2b1987 100644 --- a/internal/github/github.go +++ b/internal/github/github.go @@ -4,12 +4,13 @@ import ( "fmt" "io" "net/http" - "net/url" "os" "path" "path/filepath" "regexp" "time" + + "git.server.ky/slackcoder/mirror/internal" ) type Client struct { @@ -192,7 +193,7 @@ func (c *Client) download(dst string, src string) error { return nil } -func (c *Client) MirrorAssets(dst *url.URL, src *url.URL) error { +func (c *Client) MirrorAssets(dst *internal.URL, src *internal.URL) error { if src.Hostname() != "github.com" { return fmt.Errorf("host must be github.com") } |