golang:golang_libraries
Table of Contents
Лучшее
- sourcegraph/conc: Better structured concurrency for go
- `conc` is your toolbelt for structured concurrency in go, making common tasks easier and safer.
-
- ants is a high-performance and low-cost goroutine pool in Go
- Библиотека ants реализует пул горутин с фиксированной емкостью, управляющий и утилизирующий огромное количество горутин, что позволяет разработчикам ограничить количество горутин в ваших параллельных программах.
-
- Clone any Go data structure deeply and thoroughly.
- Package `clone` provides functions to deep clone any Go data. It also provides a wrapper to protect a pointer from any unexpected mutation.
- For users who use Go 1.18+, it's recommended to import `github.com/huandu/go-clone/generic` for generic APIs and arena support.
- `Clone`/`Slowly` can clone unexported fields and “no-copy” structs as well. Use this feature wisely.
-
- Fast JSON encoder/decoder compatible with encoding/json for Go
-
- Get JSON values quickly - JSON parser for Go
-
- Set JSON values very quickly in Go
-
- Minimalistic and High-performance goroutine worker pool written in Go
-
- Simple HTTP and REST client library for Go
-
- Sonic is a Go library for network and I/O programming that provides developers with a consistent asynchronous model, with a focus on achieving the lowest possible latency and jitter in Go
-
- A blazingly fast JSON serializing & deserializing library
-
- The simplest config loader for Go that reads/watches from file, env, flag and clouds (AWS, Azure, GCP).
-
- Useful template functions for Go templates
-
- Go package for dealing with maps, slices, JSON and other data
-
- HTTP requests for Gophers
Тестирование
-
- Script engine, especially good for tests
-
- Go (Golang) Fake Data Generator for Struct
Стили
Функциональщина
-
- A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find…)
-
- Monads and popular FP abstractions, powered by Go 1.18+ Generics (Option, Result, Either…)
-
- A dependency injection toolkit based on Go 1.18+ Generics.
-
- A modern Go utility library which provides helpers (map, find, contains, filter, …)
Базы данных
-
- general purpose extensions to golang's database/sql
-
- Package sqlite is a CGo-free port of SQLite/SQLite3.
-
- Benchmarks for Golang SQLite Drivers
-
- Low-level Go interface to SQLite 3
-
- Library for scanning data from a database into Go structs and more
-
- Generate type-safe code from SQL
Разное
-
- Arbitrary-precision fixed-point decimal numbers in go
-
- A modern Go utility library which provides helpers (map, find, contains, filter, …)
-
- Now is a time toolkit for golang
-
- A Go port of Ruby's dotenv library (Loads environment variables from .env files)
-
- Golang library for managing configuration data from environment variables
-
- safe and easy casting from one type to another in Go
-
- A UUID package originally forked from github.com/satori/go.uuid
-
- An authorization library that supports access control models like ACL, RBAC, ABAC in Golang
-
- Package singleflight provides a duplicate function call suppression mechanism.
-
- A complete Go cache library that brings you multiple ways of managing your caches
-
- Benchstat computes statistical summaries and A/B comparisons of Go benchmarks.
-
- Struct-based argument parsing in Go
-
- The go-date package provides a dedicated Date{} struct to emulate the standard library time.Time{} behavior.
-
- Flags-first package for configuration
-
- Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance.
Gin
-
- Request ID middleware for Gin Framework
-
- Official CORS gin's middleware
-
- Gin middleware for session management
-
- Alternative logging through zap
-
- Gin Web Framework Prometheus metrics exporter
Redis
-
- Distributed mutual exclusion lock using Redis for Go
-
- Simplified distributed locking implementation using Redis
Backlinks
golang/golang_libraries.txt · Last modified: 2025/01/11 21:37 by Denis Evsyukov