forked from sneak/util
d52588d63563d16b23630de6a1b3bce3e1c47743
CollapseWhitespace turns every run of whitespace into a single space and trims the ends, so a block of text becomes one tidy line. Comes with a doc comment and table-driven tests. (closes #7) 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
Description
Languages
Go
99.6%
Makefile
0.4%