mango-go¶
The below is the list of packages mango4go currently offers. Each one links to its dedicated deep-dive.
- env – environment variable helpers (
EnvOrDefault,MustEnv, etc.) - io – delete/backup/restore files by extension
- logger – slog handler with CLI/file/syslog sinks
- random – math/crypto random values, password generation, dates
- slices – generic slice utilities (contains, chunk, unique, …)
- testutils – temp files and assertions for tests
- time – start/end-of-day, duration parsing, “time ago” strings
You want more help? See the full guide. Furthermore, you can find on Discussions forum