Commit 88ca3b64 authored by Michelle Noorali's avatar Michelle Noorali
Browse files

ref(repo): add NewRepo comment

parent e07fd606
No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -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))
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment