Skip to content

Commit

Permalink
Update README for stderr change (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
FollowTheProcess authored Oct 9, 2022
1 parent cc74e5b commit 800cf7b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,11 @@ func main() {
ColorFail: color.FgRed,
ColorGood: color.FgGreen,

// Mainly used for testing but you can set it if you want
Out: os.Stdout,
// Every message type other than `Fail` types get printed here
Stdout: os.Stdout,

// Fail message types get printed here
Stderr: os.Stderr
}

// Now your printer is set up, just call the normal methods
Expand Down Expand Up @@ -213,10 +216,6 @@ No hard and fast rules here but a few guidelines:
* If you fix a bug, add a test that would have caught the bug you just squashed
* Be nice :smiley:

### Credits

This package was created with [cookiecutter](https://github.com/cookiecutter/cookiecutter) and the [FollowTheProcess/go_cookie](https://github.com/FollowTheProcess/go_cookie) project template.

[ines/wasabi]: https://github.com/ines/wasabi
[fatih/color]: https://github.com/fatih/color
[golangci-lint]: https://golangci-lint.run
Expand Down

0 comments on commit 800cf7b

Please sign in to comment.