duke-git/lancet
A comprehensive, efficient, and reusable util function library of Go. observed · 2026-08-28
Health v2 · maintenance only
74/100
- Activity 71
- Release rhythm 62
- 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: 55
- age_days: 1739
- days_rel: 179
- days_push: 179
- n_releases_24m: 10
Adoption not part of the score
5296 stars · 518 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Lancet is a comprehensive utility function library for Go with 700+ reusable functions covering strings, slices, datetime, networking, crypto, and more. It is inspired by lodash.js and Apache Commons, uses Go 1.18 generics in v2, and depends only on the standard library and golang.org/x.
Use cases
- reverse a string in go
- manipulate slices with helper functions in go
- format and parse dates in go
- encrypt and decrypt data in go
- retry a function with backoff in go
- convert between data types safely in go
- find a lodash alternative for golang
When to choose
- you want a batteries-included utility library for Go similar to lodash
- you need many common helpers without heavy third-party dependencies
- you are on Go 1.18+ and want generics-based utilities
- you prefer well-unit-tested, documented utility functions
When to avoid
- you only need one or two small helpers and prefer minimal dependencies
- your project must support Go versions below 1.18 and you want generics
- you need domain-specific libraries rather than general-purpose utilities
Facets
library · maturity active
developer-tools serialization cryptography concurrency error-handling date-time math file-system form-handling developer-tools web-development backend go cross-platform utility-library lodash-for-go generics string-utils slice-utils standard-library-only command-line
1 source
- readme: https://github.com/duke-git/lancet · fetched 2026-08-28 · a0a4ef7c0fd2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| duke-git/lancet | main | 74 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem