Go slice and array visualizer

1 min read Original article ↗

editor

Options

When no pointer to a backing array is provided, it's not possible to determine the exact offset of a slice. Enabling this option treats unknown offsets as 0.

Label each diagram with the argument it represents. Output diagrams are not always in the order of the arguments.

output