mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-23 17:53:23 +02:00
parent
e1a273d25d
commit
43e80c17b7
@ -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…
x
Reference in New Issue
Block a user