Skip to content

Set max depth #43

@alexflint

Description

@alexflint

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions