clawbot d52588d635 add CollapseWhitespace for flattening runs of whitespace
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
2026-09-05 03:26:29 +00:00
2020-09-21 17:18:04 -07:00
2024-06-01 22:35:57 +00:00

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
No description provided
Readme WTFPL 60 KiB
Languages
Go 99.9%