1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-23 17:53:23 +02:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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