scaffold/internal/project/fetcher.go
2020-02-20 08:31:22 +01:00

13 lines
163 B
Go

package project
import (
"net/url"
"gopkg.in/src-d/go-billy.v4"
)
type Fetcher interface {
Match(*url.URL) bool
Fetch(*url.URL) (billy.Filesystem, error)
}