aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/clone/main.go
diff options
context:
space:
mode:
Diffstat (limited to '_examples/clone/main.go')
-rw-r--r--_examples/clone/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/_examples/clone/main.go b/_examples/clone/main.go
index bcdb6a9..27d043b 100644
--- a/_examples/clone/main.go
+++ b/_examples/clone/main.go
@@ -8,6 +8,7 @@ import (
. "srcd.works/go-git.v4/_examples"
)
+// Basic example of how to clone a repository using clone options.
func main() {
CheckArgs("<url>", "<directory>")
url := os.Args[1]