aboutsummaryrefslogtreecommitdiffstats
path: root/remote.go
diff options
context:
space:
mode:
authorAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-03-02 10:48:26 +0100
committerAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-03-03 16:16:35 +0100
commitbe7e1e6443633728559577363e83fabd56e65a36 (patch)
tree4f24c9789ecc679d1ba723c989fba4724f3fbc59 /remote.go
parent900691567e51bf95bb92d36951e2b7b79d2596cc (diff)
downloadgo-git-be7e1e6443633728559577363e83fabd56e65a36.tar.gz
Add full stops and keep implementation details as internal comments.
Diffstat (limited to 'remote.go')
-rw-r--r--remote.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote.go b/remote.go
index 4f034bb..580e6b0 100644
--- a/remote.go
+++ b/remote.go
@@ -22,7 +22,7 @@ import (
var NoErrAlreadyUpToDate = errors.New("already up-to-date")
-// Remote represents a connection to a remote repository
+// Remote represents a connection to a remote repository.
type Remote struct {
c *config.RemoteConfig
s storage.Storer
@@ -32,7 +32,7 @@ func newRemote(s storage.Storer, c *config.RemoteConfig) *Remote {
return &Remote{s: s, c: c}
}
-// Config returns the RemoteConfig object used to instantiate this Remote
+// Config returns the RemoteConfig object used to instantiate this Remote.
func (r *Remote) Config() *config.RemoteConfig {
return r.c
}