Skip to content

Golang

Libraries

  • clipboard - 📋 cross-platform clipboard package that supports accessing text and image in Go (macOS/Linux/Windows/Android/iOS)
  • cobra - A Commander for modern Go CLI interactions
  • color - Color package for Go
  • go-querystring - go-querystring is Go library for encoding structs into URL query strings
  • godotenv - A Go port of Ruby's dotenv library (Loads environment variables from .env files)
  • gofiber - ⚡️ Express inspired web framework written in Go
  • gopsutil - psutil for golang
  • huh - Build terminal forms and prompts 🤷🏻‍♀️
  • requests - HTTP requests for Gophers
  • sops
  • viper - Go configuration with fangs
  • zerolog - Zero Allocation JSON Logger

Cookbook

Reduce binary size

bash
go build -ldflags="-s -w" <your-package>

Receive multiple returns from goroutine

https://stackoverflow.com/a/17825968

Resources