Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: Update usage of go client #2071

Closed
runephilosof-karnovgroup opened this issue Jul 31, 2023 · 0 comments · Fixed by #2085
Closed

README: Update usage of go client #2071

runephilosof-karnovgroup opened this issue Jul 31, 2023 · 0 comments · Fixed by #2085
Labels
bug Something isn't working documentation docu & docs

Comments

@runephilosof-karnovgroup
Copy link
Contributor

The readme contains an example usage of the client, but it is outdated.
It takes a int64 argument, not two strings.

Example in readme

repo, err := client.Repo("woodpecker-ci", "woodpecker")

Implementation

func (c *client) Repo(repoID int64) (*Repo, error) {

@qwerty287 qwerty287 added bug Something isn't working documentation docu & docs labels Jul 31, 2023
qwerty287 added a commit that referenced this issue Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation docu & docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants