aboutsummaryrefslogtreecommitdiffstats
path: root/examples/latest
diff options
context:
space:
mode:
Diffstat (limited to 'examples/latest')
-rw-r--r--examples/latest/latest.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/latest/latest.go b/examples/latest/latest.go
index 684ebb7..de927fa 100644
--- a/examples/latest/latest.go
+++ b/examples/latest/latest.go
@@ -16,7 +16,7 @@ func main() {
panic(err)
}
- if err = r.Clone(&git.CloneOptions{URL: url}); err != nil {
+ if err = r.Clone(&git.RepositoryCloneOptions{URL: url}); err != nil {
panic(err)
}