diff options
Diffstat (limited to 'examples/object_storage/main.go')
-rw-r--r-- | examples/object_storage/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/object_storage/main.go b/examples/object_storage/main.go index 22fa426..d3818e0 100644 --- a/examples/object_storage/main.go +++ b/examples/object_storage/main.go @@ -38,7 +38,7 @@ func clone(r *git.Repository, url string) { fmt.Printf("Cloning %q ...\n", os.Args[2]) start := time.Now() - if err := r.Clone(&git.CloneOptions{URL: url}); err != nil { + if err := r.Clone(&git.RepositoryCloneOptions{URL: url}); err != nil { panic(err) } |