Skip to content

Commit

Permalink
Fix client example (#2085)
Browse files Browse the repository at this point in the history
closes #2071
  • Loading branch information
qwerty287 authored Aug 1, 2023
1 parent e1a273d commit 43e80c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion woodpecker-go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func main() {
fmt.Println(user, err)

// gets the named repository information
repo, err := client.Repo("woodpecker-ci", "woodpecker")
repo, err := client.RepoLookup("woodpecker-ci/woodpecker")
fmt.Println(repo, err)
}
```

0 comments on commit 43e80c1

Please sign in to comment.