mirror of
https://github.com/therootcompany/golib.git
synced 2026-08-09 22:10:24 +00:00
isBase64 matched common field names like "name" — too loose for map detection. Replace with isPronounceable which checks vowel/consonant rhythm: real field names have natural syllable structure (15-80% vowels, no 5+ consonant runs), while tokens and IDs don't. Also fix allLookLikeIDs to reject keys that don't match any ID pattern instead of silently accepting them.
golib
Sometimes a little copying, sometimes a little dependency. Too small for their own repos.
The default branch is dev, but the stable, versioned tags are based on main.
Also, my Go Cheatsheet:
Languages
Go
100%