Fix client example (#2085)

closes #2071
This commit is contained in:
qwerty287
2023-08-01 17:16:45 +02:00
committed by GitHub
parent e1a273d25d
commit 43e80c17b7

View File

@@ -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)
}
```