Tag: Grupo-Estudos-Golang
Showing all entries and posts with tag "Grupo-Estudos-Golang"
Other Posts
Overlapping text chunker for RAG pipelines
An overlapping text chunker in Go using the stdlib iter package, without cutting words in half.
An encrypted vault in Go
Combining terminal password input, encryption at rest, and a SQLite snapshot into a vault that lives in RAM and exists on disk only as an encrypted blob.
SQLite in RAM: serialize and deserialize in Go
Running SQLite entirely in memory and taking a snapshot of the database bytes with serialize/deserialize, using the modernc.org/sqlite driver.
Encryption at rest with Go's stdlib
Encrypting data at rest with nothing but Go's standard library: PBKDF2 to derive the key from the password and AES-256-GCM to encrypt and authenticate.
Capturing Passwords in the Terminal with Go
Reading passwords in the terminal in Go without echo and with confirmation on first use, using golang.org/x/term.
GoScope: Exploring and Navigating Go Projects
GoScope, command-line tools to explore Go projects and efficiently locate functions, variables, and types. Learn how to use them to navigate code interactively and boost your …
Running Remote Commands Interactively with SSH
How to run commands on remote servers without starting full sessions, keeping interactive features and simplifying automation with SSH.
Traceback in Go: How to Explore the Call Stack
How to get stack traces in Go with runtime.Caller and runtime.CallersFrames. Trace errors, customize logs, and improve your code's debugging.
Data Transmission Using Sound: An Experiment with a 'Cup Telephone'
Transmitting data with sound, two plastic cups, and a string, combining creativity, nostalgia, and technology.
Finding Program Paths on the System with exec.LookPath in Go
How to use Go's exec.LookPath function to check whether programs are installed on the system and get their full paths.
Optimizing Message Integrity Checks with FNV-1a in Go
How to use the FNV-1a algorithm with hash pools in Go, reducing garbage collector pressure without compromising performance.
mTLS: Implementing Mutual Authentication Between Client and Server in Go
Mutual authentication with mTLS in Go, step by step. This guide covers certificate creation, server and client configuration, and security best practices to protect your …
HMAC (Hash-based Message Authentication Code) in Golang
Secure API authentication using HMAC (Hash-based Message Authentication Code) in Golang.
Safe JSON Validation and Integration in Go APIs with json.RawMessage
How to safely validate and integrate JSON in Go APIs using json.RawMessage. And how to log invalid JSON errors while keeping the system's normal flow running.
Manipulating Special Permission Bits
How to configure special permissions with setuid and setgid to run programs with superuser privileges
Dropping Privileges in Go Programs to Improve Security
How to improve the security of Go programs by dropping execution privileges. Learn how to check and change users and groups on UNIX-like systems, with practical code examples and …
References in Comments with Golang
References in Go code comments to make navigation easier.
Plasma Effect in the Terminal with Golang
How to create a plasma effect in the terminal with Golang, an example from the Go study group
Happy 2025, Fireworks in the Terminal with Golang
How to create a fireworks animation in the terminal using Go.