6807a76f24a8381e1510c1cfe978637f2fda35d1
ChunkStrings cuts a slice into consecutive pieces of at most the requested size, with the leftovers in the last piece, and returns copies so the pieces cannot disturb each other. Comes with a doc comment and table-driven tests. (closes #3) Model: opus-5
sneak/goutil
This is a bunch of little general-purpose go utility functions that I don't feel comfortable including as-is in my normal projects as they are too general, so I put them here.
Suggestions are welcome.
Really I think most of these should probably be in the stdlib.
License
WTFPL (free software, no restrictions)
Author
Languages
Go
99.9%