Skip to content

Instantly share code, notes, and snippets.

@juev
Last active May 19, 2025 08:28
Show Gist options
  • Select an option

  • Save juev/8fbaec5d5f4c489bc2d1a92d89d95ca4 to your computer and use it in GitHub Desktop.

Select an option

Save juev/8fbaec5d5f4c489bc2d1a92d89d95ca4 to your computer and use it in GitHub Desktop.

Лучшее

  • sourcegraph/conc – Better structured concurrency for go conc is your toolbelt for structured concurrency in go, making common tasks easier and safer.
  • ants – ants is a high-performance and low-cost goroutine pool in Go. Библиотека ants реализует пул горутин с фиксированной емкостью, управляющий и утилизирующий огромное количество горутин, что позволяет разработчикам ограничить количество горутин в ваших параллельных программах.
  • huandu/go-clone – 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.
  • goccy/go-json – Fast JSON encoder/decoder compatible with encoding/json for Go
  • tidwall/gjson – Get JSON values quickly - JSON parser for Go
  • tidwall/sjson – Set JSON values very quickly in Go
  • alitto/pond – Minimalistic and High-performance goroutine worker pool written in Go
  • go-resty/resty – Simple HTTP and REST client library for Go
  • talostrading/sonic – 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
  • bytedance/sonic – A blazingly fast JSON serializing & deserializing library
  • nil-go/konf – The simplest config loader for Go that reads/watches from file, env, flag and clouds (AWS, Azure, GCP).
  • Masterminds/sprig – Useful template functions for Go templates
  • stretchr/objx – Go package for dealing with maps, slices, JSON and other data
  • carlmjohnson/requests – HTTP requests for Gophers
  • oklog/run – A universal mechanism to manage goroutine lifecycles
  • deckarep/golang-set – A simple, battle-tested and generic set type for the Go language
  • bmatcuk/doublestar – Implements support for double star (**) matches in golang's path.Match and filepath.Glob
  • mohae/deepcopy – Deep copy things

Тестирование

  • rsc/script – Script engine, especially good for tests
  • go-faker/faker – Go (Golang) Fake Data Generator for Struct
  • h2non/gock – HTTP traffic mocking and testing made easy in Go

Стили

Функциональщина

  • samber/lo – A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...) This project started as an experiment with the new generics implementation. It may look like Lodash in some aspects. I used to code with the fantastic go-funk package, but "go-funk" uses reflection and therefore is not typesafe.
  • samber/mo – Monads and popular FP abstractions, powered by Go 1.18+ Generics (Option, Result, Either...)
  • samber/do– A dependency injection toolkit based on Go 1.18+ Generics.
  • thoas/go-funk – A modern Go utility library which provides helpers (map, find, contains, filter, ...)

Базы данных

Разное

  • shopspring/decimal – Arbitrary-precision fixed-point decimal numbers in go
  • thoas/go-funk – A modern Go utility library which provides helpers (map, find, contains, filter, ...)
  • jinzhu/now – Now is a time toolkit for golang
  • joho/godotenv – A Go port of Ruby's dotenv library (Loads environment variables from .env files)
  • kelseyhightower/envconfig – Golang library for managing configuration data from environment variables
  • spf13/cast – safe and easy casting from one type to another in Go
  • gofrs/uuid – A UUID package originally forked from github.com/satori/go.uuid
  • casbin/casbin – An authorization library that supports access control models like ACL, RBAC, ABAC in Golang
  • golang.org/x/sync/singleflight – Package singleflight provides a duplicate function call suppression mechanism.
  • eko/gocache – A complete Go cache library that brings you multiple ways of managing your caches
  • perf/cmd/benchstat – Benchstat computes statistical summaries and A/B comparisons of Go benchmarks.
  • alexflint/go-arg – Struct-based argument parsing in Go
  • hardfinhq/go-date – The go-date package provides a dedicated Date{} struct to emulate the standard library time.Time{} behavior.
  • peterbourgon/ff – Flags-first package for configuration
  • elliotchance/pie – Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance.

Gin

Redis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment