gookit/goutil
💪 Helper Utils(900+): int, byte, string, array/slice, map, struct, dump, convert/format, error, web/http, cli/flag, OS/ENV, filesystem, system, test/assert, time and more. Go 常用的工具函数:数字,字符串,数组,Map,结构体,反射,文本,文件,错误,时间日期,特殊处理,格式化,常用信息获取等等 observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 98
- Release rhythm 78
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 53
- age_days: 2983
- days_rel: 69
- days_push: 16
- n_releases_24m: 10
Adoption not part of the score
2360 stars · 202 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
goutil is a Go utility library providing 900+ helper functions across packages for strings, arrays, maps, structs, reflection, errors, time, filesystem, environment, CLI, and testing. It includes extras like a value dumper, enhanced error wrapping with stacktraces, assertion helpers, and a flag wrapper for building simple CLI apps.
Use cases
- manipulate and convert strings in go
- convert between int, string, and byte types
- merge and query nested maps
- dump go variables for debugging
- wrap errors with stack traces
- build simple command line apps with flags
- read and write files quickly
- mock env values in tests
When to choose
- you want a batteries-included stdlib-style utility set for Go
- you need many small helpers (strings, slices, maps, fs, env) from one dependency
- you want enhanced error wrapping, dumping, or test assertions
When to avoid
- you prefer minimal, single-purpose dependencies
- you need a framework for complex CLI apps rather than simple flag handling
- your project avoids reflection-heavy utility libraries
Facets
library · maturity active
developer-tools serialization logging testing cli error-handling file-system date-time math developer-tools go cross-platform cli go-library utilities string-utils slice-utils map-utils struct-utils reflection env-vars dump assert cli-flags ansi-colors command-line automation
1 source
- readme: https://github.com/gookit/goutil · fetched 2026-08-28 · 57507f8a281d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gookit/goutil | main | 91 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem