provide go doc comments for exported types and functions

This commit is contained in:
Serge Zaitsev
2018-09-19 16:34:17 +02:00
parent d6b9770b10
commit 020b523d4a
6 changed files with 36 additions and 3 deletions

View File

@@ -30,6 +30,8 @@ type gitVCS struct {
auth Auth
}
// NewGit return a go-git VCS client implementation that provides information
// about the specific module using the pgiven authentication mechanism.
func NewGit(l logger, module string, auth Auth) VCS {
return &gitVCS{log: l, module: module, auth: auth}
}