Golang drawer
@golang101
178
subscribers
1
photo
5.03K
links
Curated Golang news
Download Telegram
Join
Golang drawer
178 subscribers
Golang drawer
https://github.com/BurntSushi/toml/releases/tag/v1.4.0
GitHub
Release v1.4.0 · BurntSushi/toml
This version requires Go 1.18
Add toml.Marshal() (#405)
Require 2-digit hour (#320)
Wrap UnmarshalTOML() and UnmarshalText() return values in ParseError for position information (#398)
Fix ...
Golang drawer
https://sazak.io/articles/an-applied-introduction-to-ebpf-with-go-2024-06-06
sazak.io
An Applied Introduction to eBPF with Go — Ozan Sazak
eBPF is a revolutionary technology that allows you to reprogram the Linux kernel within minutes, even without rebooting the system. It allows you to trace system calls, user space functions, library functions, network packets, and much more.
Golang drawer
https://engineering.grab.com/profile-guided-optimisation
Grab Tech
Profile-guided optimisation (PGO) on Grab services
Profile-guided optimisation (PGO) is a method that tracks CPU profile data and uses that data to optimise your application builds. The AI platform team enabled this on several Grab services to discover the full benefits and caveats of using PGO. Read this…
Golang drawer
https://matttproud.com/blog/posts/go-errors-and-api-contracts.html
matttproud.com (blog)
Go Error Propagation and API Contracts
I’ve been thinking about errors in Go quite a bit lately and what has been bothering me about the practice of error design and usage in the community. The critique starts with this code:
1 2 3 if err != nil { return err } It’s such a common piece of code…
Golang drawer
https://preslav.me/2024/06/06/error-flows-in-golang/
Preslav Rachev
Error Flows in Go
Change the narrative
Golang drawer
https://www.dolthub.com/blog/2024-05-31-benchmarking-go-error-handling/
Dolthub
Sentinel errors and errors.Is() slow your code down by 500%
An exhaustive set of benchmarks on different ways to approach error handling in Golang. We demonstrate that common sentinel error idioms are slow your code down by 5x.
Golang drawer
https://kyrylo.org/telegram/kamal/2024/06/01/how-to-deploy-a-telegram-bot-with-kamal.html
Kyrylo Silin
How to build and deploy a Telegram bot with Kamal
There are many great tutorials on how to write Telegram bots, but almost none of them cover how to deploy a Telegram bot. In this article, we will write a simple Telegram bot and deploy it with Kamal. It will run in a Docker container exposed via Traefik.
Golang drawer
https://blog.plerion.com/things-you-wish-you-didnt-need-to-know-about-s3/
Plerion
Things you wish you didn't need to know about S3
S3 is weirder than you think. Make sure you know all the quirks before they turn into vulnerabilities in your AWS infrastructure.
Golang drawer
https://invidious.flokinet.to/watch?v=IoY6bE--A54
freeCodeCamp.org | Invidious
Distributed File Storage In Go – Full Course
Learn how to build a decentralized, fully distributed content-addressable file storage system using Go that can handle and stream very large files. This course covers system design, low-level programming, and network protocols, all while building a highly…
Golang drawer
https://gowebly.org/
gowebly.org
Gowebly | A next-generation CLI tool for easily build amazing web apps with Go, Templ, htmx, hyperscript or Alpine.js and CSS frameworks…
A next-generation CLI tool that makes it easy to create amazing web applications with Go on the backend, using htmx, hyperscript or Alpine.js and the most popular CSS frameworks on the frontend.
Golang drawer
https://goreleaser.com/blog/goreleaser-v2/
Goreleaser
GoReleaser - Announcing GoReleaser v2
Deliver Go binaries as fast and easily as possible
Golang drawer
https://github.com/huandu/xstrings
GitHub
GitHub - huandu/xstrings: Implements string functions widely used in other languages but absent in Go.
Implements string functions widely used in other languages but absent in Go. - huandu/xstrings
Golang drawer
https://github.com/qmuntal/stateless
GitHub
GitHub - qmuntal/stateless: Go library for creating finite state machines
Go library for creating finite state machines. Contribute to qmuntal/stateless development by creating an account on GitHub.
Golang drawer
https://github.com/tiktoken-go/tokenizer
GitHub
GitHub - tiktoken-go/tokenizer: Pure Go implementation of OpenAI's tiktoken tokenizer
Pure Go implementation of OpenAI's tiktoken tokenizer - tiktoken-go/tokenizer
Golang drawer
https://github.com/go-co-op/gocron
GitHub
GitHub - go-co-op/gocron: Easy and fluent Go cron scheduling. This is a fork from https://github.com/jasonlvhit/gocron
Easy and fluent Go cron scheduling. This is a fork from https://github.com/jasonlvhit/gocron - go-co-op/gocron
Golang drawer
https://github.com/bufbuild/buf/releases/tag/v1.34.0
GitHub
Release v1.34.0 · bufbuild/buf
Add buf config ls-modules command to list configured modules.
Fix issue where buf generate would succeed on missing insertion points and panic on empty insertion point files.
Update buf generate to...
Golang drawer
https://github.com/sashabaranov/go-openai
GitHub
GitHub - sashabaranov/go-openai: OpenAI ChatGPT, GPT-5, GPT-Image-1, Whisper API clients for Go
OpenAI ChatGPT, GPT-5, GPT-Image-1, Whisper API clients for Go - sashabaranov/go-openai
Golang drawer
https://github.com/caarlos0/env
GitHub
GitHub - caarlos0/env: A simple, zero-dependencies library to parse environment variables into structs
A simple, zero-dependencies library to parse environment variables into structs - caarlos0/env
Golang drawer
https://github.com/drakkan/sftpgo
GitHub
GitHub - drakkan/sftpgo: Full-featured and highly configurable SFTP, HTTP/S, FTP/S and WebDAV server - S3, Google Cloud Storage…
Full-featured and highly configurable SFTP, HTTP/S, FTP/S and WebDAV server - S3, Google Cloud Storage, Azure Blob - drakkan/sftpgo
Golang drawer
https://github.com/superjose/deploy-golang-cloudrun/
GitHub
GitHub - superjose/deploy-golang-cloudrun: A Script that configures all the Google Cloud Permissions and deploys your golang application…
A Script that configures all the Google Cloud Permissions and deploys your golang application to Google Cloud Run - superjose/deploy-golang-cloudrun