8000 Context.RunOutput and Context.BashOutput don't return 2 values · Issue #52 · go-godo/godo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Context.RunOutput and Context.BashOutput don't return 2 values #52

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

Open
sytabaresa opened this issue Jan 16, 2017 · 0 comments
< 77D0 div class="js-sticky js-sticky-offset-scroll top-0 gh-header-sticky">
Open

Context.RunOutput and Context.BashOutput don't return 2 values #52

sytabaresa opened this issue Jan 16, 2017 · 0 comments

Comments

@sytabaresa
Copy link
sytabaresa commented Jan 16, 2017

Hello, In the README you use two values of return for RunOutput method:

output, err := c.RunOutput("whoami")

and the same for c.BashOutput

but in the package only returns a string: https://godoc.org/github.com/go-godo/godo#Context.RunOutput

Which is wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0