From 88ca3b649a6820202294e8f31283f5f42a7839ef Mon Sep 17 00:00:00 2001 From: Michelle Noorali Date: Mon, 21 Mar 2016 11:33:15 -0600 Subject: [PATCH] ref(repo): add NewRepo comment --- pkg/repo/repo.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/repo/repo.go b/pkg/repo/repo.go index aac9e35e3..8e3aee3ae 100644 --- a/pkg/repo/repo.go +++ b/pkg/repo/repo.go @@ -30,6 +30,7 @@ type repo struct { Type RepoType `json:"type"` // Technology implementing this repository } +// NewRepo takes params and returns a Repo func NewRepo(name, URL, credentialName, repoFormat, repoType string) (Repo, error) { return newRepo(name, URL, credentialName, RepoFormat(repoFormat), RepoType(repoType)) }