scaffold/internal/project/fetcher.go

13 lines
163 B
Go
Raw Normal View History

2020-02-20 08:31:22 +01:00
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)
}