Go Library
4.13K subscribers
20 photos
63 files
806 links
Go (Golang) Library

Реклама: @ostinostin
Контент: @mxssl
Download Telegram
goqu

goqu is an expressive SQL builder and executor


https://github.com/doug-martin/goqu
gofakeit

Random fake data generator written in go


https://github.com/brianvoe/gofakeit
Python is Easy. Go is Simple. Simple != Easy

Python and Go have distinct qualities that can complement each other.


https://preslav.me/2023/11/27/python-is-easy-golang-is-simple-simple-is-not-easy
Making Games in Go for Absolute Beginners

https://threedots.tech/post/making-games-in-go
Demystifying function parameters in Go

In this post we're going to talk about how (and why!) different types of function parameters behave differently in Go.

If you're new (or even not-so-new) to Go, this can be a common source of confusion and questions. Why do functions generally mutate maps and slices, but not other data types? Why isn't my slice being mutated when I append to it in a function? Why doesn't assigning a new value to a pointer parameter have any effect outside the function?

Once you understand how functions and the different Go types work, the answers to these kind of questions becomes clearer. You'll discover that Go's behavior consistently follows a few fairly straightforward rules, which I'll aim to highlight in this post.


https://www.alexedwards.net/blog/demystifying-function-parameters-in-go
etcd and concurrency stm

This blog post explores a little bit of raft, etcd, Go and the horrible rakes we walked into during my time at InfluxData. After taking some time to better understand some of the core concepts under etcd, I think I've finally got my head around an issue I opened that never got any attention, but that sat in my subconscious unsolved (at-least from my own understanding perspective).


https://george.macro.re/posts/etcd-and-concurrency-stm
Go Fact: Zero-sized Field at the Rear of a Struct Has Non-zero Size

https://i.hsfzxjy.site/zst-at-the-rear-of-go-struct
htmx-go

htmx-go is a type-safe library for working with HTMX in Go.


https://github.com/angelofallars/htmx-go
sdns

A high-performance, recursive DNS resolver server with DNSSEC support, focused on preserving privacy.


https://github.com/semihalev/sdns
cast

safe and easy casting from one type to another in Go


https://github.com/spf13/cast
mpb

mpb is a Go lib for rendering progress bars in terminal applications.


https://github.com/vbauerster/mpb
errtrace

An alternative to stack traces for your Go errors


https://github.com/bracesdev/errtrace
golang-set

A simple, battle-tested and generic set type for the Go language. Trusted by Docker, 1Password, Ethereum and Hashicorp.


https://github.com/deckarep/golang-set
gabs

Gabs is a small utility for dealing with dynamic or unknown JSON structures in Go. It's pretty much just a helpful wrapper for navigating hierarchies of map[string]interface{} objects provided by the encoding/json package. It does nothing spectacular apart from being fabulous.


https://github.com/Jeffail/gabs
goiabada

Goiabada is an OAuth2 / OpenID Connect server written in Go.


https://github.com/leodip/goiabada
gopher-lua

GopherLua is a Lua5.1(+ goto statement in Lua5.2) VM and compiler written in Go. GopherLua has a same goal with Lua: Be a scripting language with extensible semantics . It provides Go APIs that allow you to easily embed a scripting language to your Go host programs.


https://github.com/yuin/gopher-lua