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

Set max depth #43

Open
alexflint opened this issue Jan 13, 2017 · 1 comment
Open

Set max depth #43

alexflint opened this issue Jan 13, 2017 · 1 comment

Comments

@alexflint
Copy link

I use this package regularly across several projects - thanks for building it!

Would it be possible to add a way to control the max depth? At the moment I see it is set to 10 but sometimes I want more:

https://github.com/kr/pretty/blob/master/formatter.go#L95

@Heanthor
Copy link

I'd like to second this issue, but for another reason. I have a simple struct that happens to contain a time.Time, and this library prints out hundreds of lines of internal time info.

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

2 participants