diff --git a/woodpecker-go/README.md b/woodpecker-go/README.md index bae98535b..66a395761 100644 --- a/woodpecker-go/README.md +++ b/woodpecker-go/README.md @@ -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) } ```