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

Реклама: @ostinostin
Контент: @mxssl
Download Telegram
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
garble

Obfuscate Go code by wrapping the Go toolchain.


https://github.com/burrowers/garble
go-sqlite

This package provides a low-level Go interface to SQLite 3. It is a fork of crawshaw.io/sqlite that uses modernc.org/sqlite, a CGo-free SQLite package. It aims to be a mostly drop-in replacement for crawshaw.io/sqlite.


https://github.com/zombiezen/go-sqlite
go-recipes

Handy well-known and lesser-known tools for Go projects


https://github.com/nikolaydubina/go-recipes
Sign in with GitHub in Go

It's common to see web applications that let you log in through third-party services. "Sign in with Google" is particularly popular; on developer-oriented websites, "Sign in with GitHub" also pops up quite a bit. In this post, I want to briefly explore OAuth - the technology that enables these delegated logins, and present some ways to integrate GitHub login in your Go service.


https://eli.thegreenplace.net/2023/sign-in-with-github-in-go
Why We Switched From Svelte Kit To Golang + HTMX

https://youtu.be/zB9tEQYLPL4
pdfcpu

pdfcpu is a PDF processing library written in Go supporting encryption. It provides both an API and a CLI. Supported are all versions up to PDF 1.7 (ISO-32000).


https://github.com/pdfcpu/pdfcpu
osv-scanner

Use OSV-Scanner to find existing vulnerabilities affecting your project's dependencies.


https://github.com/google/osv-scanner
Iterators in Go

This article describes an experimental extension to the Go language: range over func. The design of Go iterators is evolving, and this tutorial is a work in progress, so don’t forget to check back later for the latest developments.


https://bitfieldconsulting.com/golang/iterators
gossl

Simple CLI app for checking SSL certificates written in Go


https://github.com/vvrnv/gossl
Implementing the Raft distributed consensus protocol in Go

We'll implement two key components of Raft in this post (leader election and log replication). Around 1k lines of Go. It took me around 7 months of sporadic studying to come to (what I hope is) an understanding of the basics.


https://notes.eatonphil.com/2023-05-25-raft.html
betteralign

betteralign is a tool to detect structs that would use less memory if their fields were sorted and optionally sort such fields.


https://github.com/dkorunic/betteralign