Skip to content

pp: fix formatting for simple slices #11

@cookieo9

Description

@cookieo9

Calling PP on a simple slice (such as a []byte) makes for some very ugly output eg:

pp.PP([]byte("Hello, World!") =>
[
72,
101,
108,
108,
111,
44,
32,
87,
111,
114,
108,
100,
33,
]

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions