mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-08-31 11:33:24 +00:00
@@ -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)
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user