# thinkeridea/go-extend

go语言扩展包，收集一些常用的操作函数，辅助更快的完成开发工作，并减少重复代码

Repository: https://github.com/thinkeridea/go-extend
Canonical: https://ross.abutalabs.com/products/go-extend
Homepage: https://pkg.go.dev/github.com/thinkeridea/go-extend
Language: Go
License: MIT
License Family: permissive
Topics: go, pool, bytes, net, errno, round, substr
Last push: 2023-07-20T13:32:49+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2812, "days_push": 1140, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1309, forks 156 (observed 2026-08-28T04:04:19.471666+00:00)

## What it is
go-extend is a Go utility library that collects commonly used helper functions to speed up development and reduce repetitive code. It provides performance-optimized alternatives to standard library functions like strings.Join, strings.Repeat, and strings.Replace, often using unsafe and in-place techniques to reduce memory allocations.

## Use cases
- join strings with fewer memory allocations in Go
- repeat or replace large strings efficiently
- convert string operations to []byte without type conversion overhead
- find optimized replacements for Go standard library string functions
- reduce boilerplate utility code in Go projects
- benchmark and compare performance of string manipulation functions

## When to choose
- your Go application is performance-sensitive and string/byte operations are a bottleneck
- you want drop-in, faster alternatives to strings.Join, strings.Repeat, or strings.Replace
- you need a curated set of common utility functions to cut down repetitive code

## When to avoid
- you prefer to avoid unsafe-based code paths in safety-critical or audited codebases
- your project only needs one or two small helpers and you'd rather write them yourself
- you need actively maintained libraries with frequent updates and broad community support

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools, concurrency, error-handling, benchmarking
- domain: developer-tools, performance
- platform: go, cross-platform
- tags: go-stdlib-extensions, string-manipulation, byte-slice, performance-optimization, unsafe, utility-functions, exstrings, exbytes, algorithms

## Member repositories
- thinkeridea/go-extend (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:19.471666+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:50:01.512548+00:00, confidence not recorded.
  - readme: https://github.com/thinkeridea/go-extend (fetched 2026-08-28T04:04:19.471666+00:00, sha 122a855fba13)
  - homepage: https://pkg.go.dev/github.com/thinkeridea/go-extend (fetched 2026-08-29T12:08:13.161356+00:00, sha 718fad587a7d)
  - site_page: https://pkg.go.dev/about (fetched 2026-08-29T12:08:13.170510+00:00, sha 757852027879)
  - site_page: https://go.dev/project (fetched 2026-08-29T12:08:13.172511+00:00, sha d5ca00bb378b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
