diff options
Diffstat (limited to 'clone.go')
| -rw-r--r-- | clone.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -173,6 +173,10 @@ func (f *Forge) urlClone(gopath, giturl string) (*gitpb.Repo, error) { // for example: // This will check go.wit.com for "go.wit.com/apps/go-clone" // and return where the URL to do git clone should be +func FindGoImport(url string) (string, error) { + return findGoImport(url) +} + func findGoImport(url string) (string, error) { resp, err := http.Get(url) if err != nil { |
