mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-27 02:40:30 +00:00
parent
e1a273d25d
commit
43e80c17b7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue