# sohaha/zlsgo

简单易用、足够轻量、性能好的 Golang 库 - Easy to use, light enough, good performance Golang library

Repository: https://github.com/sohaha/zlsgo
Canonical: https://ross.abutalabs.com/products/zlsgo
Homepage: https://docs.73zls.com/zls-go/#
Language: Go
License: MIT
License Family: permissive
Topics: golang, go-framework, web, cli
Last push: 2026-07-20T07:16:38+00:00

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

## Adoption (not part of the score)
Stars 1002, forks 53 (observed 2026-09-03T02:15:18.003052+00:00)

## What it is
zlsgo is a lightweight, modular Go standard-library-style toolkit offering web framework (znet), logging (zlog), HTTP client (zhttp), JSON handling, caching, CLI, and dependency injection modules. It emphasizes minimal external dependencies, type-safe APIs, and high performance with per-module imports.

## Use cases
- build a lightweight http server in go
- make http requests from go without heavy dependencies
- structured logging for go applications
- parse and manipulate json in go
- build command-line tools in go
- in-memory caching in go
- dependency injection in go

## When to choose
- you want a batteries-included Go toolkit with minimal external dependencies
- you need a simple gin-like web framework with low overhead
- you want to import only the modules you need to keep binaries small
- you prefer simple, intuitive APIs over heavyweight frameworks

## When to avoid
- you need an ecosystem-rich framework with extensive middleware and community plugins
- your team standardizes on mainstream stacks like gin, echo, or the standard library
- you require enterprise-grade features like OpenTelemetry integration out of the box

## Facets
- artifact type: library
- maturity: active
- function: web-framework, http-client, logging, caching, cli, json, serialization, error-handling, middleware, routing
- domain: web-development, backend, developer-tools
- platform: go, cross-platform, cli
- tags: go-library, modular, lightweight, dependency-injection, utility-belt, zero-dependency, command-line, web-server

## Member repositories
- sohaha/zlsgo (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:18.003052+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-30T07:16:09.727598+00:00, confidence not recorded.
  - readme: https://github.com/sohaha/zlsgo (fetched 2026-09-03T02:15:18.003052+00:00, sha e9ca0aaac0c9)
  - homepage: https://docs.73zls.com/zls-go/# (fetched 2026-08-29T13:14:08.004400+00:00, sha 7e2f24778e81)
- Data as of 2026-08-30T08:39:29.467469+00:00.
