JensRantil/safe-slice

A small proof of concept creating a wrapper to make Golang slices safer.

★ 2Forks 0GoGitHub ↗Compare

README

SafeSlice

SafeSlice is a small experiment creating a generic slice wrapper that avoids some of the surprises that can happen when modifying or appending to a subslice. See [1] for details of this behaviour.

[1] https://mmudama.github.io/posts/2025/fun-with-slices/

Contributors

JensRantil

Issues