aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/open/main.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-03-01 17:39:56 +0100
committerGitHub <noreply@github.com>2017-03-01 17:39:56 +0100
commitd105e15d91e7553d9d40d6e9fffe0a5008cf8afe (patch)
tree3fbafa48a960575f9419392c5626de7951a6eda9 /_examples/open/main.go
parentf0affc5579ec907c3092b125ff35b0359b8c4e49 (diff)
parentd24ea4984ce6871ea24eb376325082602c766295 (diff)
downloadgo-git-d105e15d91e7553d9d40d6e9fffe0a5008cf8afe.tar.gz
Merge pull request #293 from ajnavarro/improvement/examples
_examples: improve documentation (fix #238)
Diffstat (limited to '_examples/open/main.go')
-rw-r--r--_examples/open/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/_examples/open/main.go b/_examples/open/main.go
index 063c277..9174588 100644
--- a/_examples/open/main.go
+++ b/_examples/open/main.go
@@ -8,6 +8,7 @@ import (
. "srcd.works/go-git.v4/_examples"
)
+// Open an existing repository in a specific folder.
func main() {
CheckArgs("<path>")
path := os.Args[1]