Index of /tags/golang/


NameLast modifiedSizeDescription
../--
kutta-no-navegador.md2026-08-28 14:054.3KKutta now runs in a browser tab, compiled to WebAssembly from the same source as the desktop build. A solver step costs 6.1 ms under wasm against 2.3 ms native, and that number decided the simulation rate.
kutta.md2026-08-28 14:054.2KKutta is a small 2D wind tunnel written in Go with Ebitengine: it streams a Lattice-Boltzmann flow past an airfoil you can draw, cut into a wing and flap, and animate. Qualitative visual intuition, not validated CFD.
glaze.md2026-08-28 14:056.2KHow Glaze stopped embedding a C++ library and started calling the operating system's WebView directly, in pure Go, using purego to keep cgo and native dependencies out of the binary.
singleflight.md2026-08-28 14:055.6Ksingleflight is not a cache. It just keeps simultaneous calls for the same key from doing the same expensive work several times. Once the call finishes, the entry is removed.
text_chunker.md2026-08-28 14:053.9KAn overlapping text chunker in Go using the stdlib iter package, without cutting words in half.
cofre-cifrado-em-go.md2026-08-28 14:052.8KCombining 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-na-ram-serialize-deserialize.md2026-08-28 14:052.2KRunning SQLite entirely in memory and taking a snapshot of the database bytes with serialize/deserialize, using the modernc.org/sqlite driver.
criptografia-at-rest-com-a-stdlib-go.md2026-08-28 14:053.2KEncrypting 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.
capturando-senhas-no-terminal-go.md2026-08-28 14:051.3KReading passwords in the terminal in Go without echo and with confirmation on first use, using golang.org/x/term.
neko.md2026-08-28 14:055.3KA Go reimplementation of the classic Neko: transparent window, original sprites, sound, and a cat that chases the cursor across the screen.
get-from-map.md2026-08-28 14:052.3KRecursive Go function to access values in nested maps
serve-webdav-with-go.md2026-08-28 14:054.7KHow to configure and run an SFTP/WebDAV server using Go (sftpdav). Check out practical examples, security tips, and how to leverage standard libraries for building robust and efficient solutions.
protegendo-credenciais-e-configuracoes-com-conteiner-criptografado.md2026-08-28 14:053.9KCreate and manage an encrypted container to securely protect passwords, keys, and other sensitive data in a practical way without sacrificing performance
lqs-uma-ferramenta-prtica-para-testar-sql.md2026-08-28 14:053.1KLQS: a practical tool for testing and debugging SQL. It allows integrating metadata, Lua scripts, and auxiliary queries to optimize your workflow and detect errors early.
goscope-explorando-e-navegando-em-projetos-go.md2026-08-28 14:053.7KGoScope, 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 productivity.
executando-comandos-remotos-de-forma-interativa-com-ssh.md2026-08-28 14:052.1KHow to run commands on remote servers without starting full sessions, keeping interactive features and simplifying automation with SSH.
tracebacks-em-go.md2026-08-28 14:053.6KHow to get stack traces in Go with runtime.Caller and runtime.CallersFrames. Trace errors, customize logs, and improve your code's debugging.
transmissao-de-dados-usando-som-via-telefone-de-copos.md2026-08-28 14:053.6KTransmitting data with sound, two plastic cups, and a string, combining creativity, nostalgia, and technology.
encontrando-os-paths-de-executaveis-usando-go.md2026-08-28 14:051.5KHow to use Go's exec.LookPath function to check whether programs are installed on the system and get their full paths.
checksum-com-golang.md2026-08-28 14:051.9KHow to use the FNV-1a algorithm with hash pools in Go, reducing garbage collector pressure without compromising performance.
mtls-implementando-autenticacao-mutua.md2026-08-28 14:057.5KMutual authentication with mTLS in Go, step by step. This guide covers certificate creation, server and client configuration, and security best practices to protect your applications.
hmac-assinatura-de-mensagens-segura-em-go.md2026-08-28 14:052.4KSecure API authentication using HMAC (Hash-based Message Authentication Code) in Golang.
validacao-e-integracao-segura-de-json-em-apis-go.md2026-08-28 14:053.9KHow 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.
manipulando-setuid-e-setgid.md2026-08-28 14:051.9KHow to configure special permissions with setuid and setgid to run programs with superuser privileges
reducao-de-privilegios-com-golang.md2026-08-28 14:052.5KHow 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 good practices to minimize attack risks.
referencias-nos-comentarios-com-golang.md2026-08-28 14:051.7KReferences in Go code comments to make navigation easier.
efeito-plasma-no-terminal-com-golang.md2026-08-28 14:052.8KHow to create a plasma effect in the terminal with Golang, an example from the Go study group
feliz-2025-com-fogos-de-artificio-no-terminal-com-golang.md2026-08-28 14:054.8KHow to create a fireworks animation in the terminal using Go.
subindo-api-via-proxy-reverso-caddy-go.md2026-08-28 14:054.1KHow to deploy an API written in Go behind a reverse proxy with the Caddy HTTP server.
benchmark-retornos-nomeados-vs-explicitos-go.md2026-08-28 14:051.9KPerformance comparison between named and explicit returns in Go. Learn how to measure speed with benchmarks and interpret the results.
programacao-assistida-por-ia.md2026-08-28 14:057.3KThoughts and tips on using AI to help with software development.
escrevendo-software-para-durar.md2026-08-28 14:0513.6KA few tips I consider important for writing resilient software that lasts for years and is easy to maintain.
golang-retrocompatibilidade.md2026-08-28 14:053.7KMost languages grow by adding new features and new capabilities. Go focuses on optimizing its existing foundation with a strong emphasis on backward compatibility.
golang-erro-de-arredondamento.md2026-08-28 14:052.3KErrors when converting from floating point to integer are common, and this isn't a problem specific to Go. This is a classic example of that problem.
golang-cliente-servidor-socket-chat.md2026-08-28 14:053.6KA chat example (TCP/IP socket) written in Go with goroutines and channels, this time with a bit of optimization for speed.
golang-cliente-servidor-socket-signals.md2026-08-28 14:052.1KAdds signal handling to the TCP socket client/server example.
golang-cliente-servidor-socket-ping-pong.md2026-08-28 14:054.2KAn example of a socket client and server written in Go with persistent connections, now sending and receiving ping/pong messages to make sure the connection is alive.
golang-cliente-servidor-socket-com-canais-e-goroutines.md2026-08-28 14:054.6KAn example of a socket client and server written in Go with persistent connections, now using goroutines and channels.
golang-cliente-servidor-socket.md2026-08-28 14:054.8KAn example of a socket client and server written in Go with persistent connections.
docker-multi-stage-build.md2021-06-17 21:481.9KBecause Golang produces static, self-contained executables, we don't need anything installed in the container, not even libc. That means we can use a scratch image and build a truly tiny container.
go-http-timeout.md2020-10-04 12:501.3KHow to configure default timeouts for your HTTP server in Go.
go-controle-de-sessao.md2020-10-04 12:275.9KHow to build session control in Golang using Gorilla sessions, keeping data in cookies securely with AES-256 encryption
descobrindo-ip-com-golang.md2020-05-23 10:573.0KHow to find the client's and server's IP using Golang
diferencas-entre-slices-e-arrays-golang.md2022-09-09 01:376.4KDifferences between slice and array in Go, and a few usage tips.
problemas-programando-em-golang.md2026-08-28 14:0513.4KNo programming language is perfect, and in this text I try to describe everything that can go wrong using Golang.
golang-shadow-variaveis.md2022-09-09 01:373.4KHow to find variable shadowing in Golang using go vet with an experimental module
web-scraping-com-golang.md2020-02-22 20:433.9KWeb scraping example with Golang and the Chrome DevTools Protocol
erro-na-ordem-do-switch.md2020-02-22 19:002.4KA hard-to-debug bug involving interfaces and switch cases in Golang
cobertura-de-testes.md2022-09-09 01:373.1KA script for viewing unit test coverage as HTML
quine-em-golang.md2026-08-28 14:052.3KHow to write a program that prints itself in Go.
postgresql-ssl-golang.md2022-09-09 01:378.4KConfiguring PostgreSQL to accept SSL connections from Go
unix-domain-socket-golang.md2026-08-28 14:053.9KHow to use Unix Domain Sockets for efficient and secure inter-process communication, with practical examples in Go and netcat.
json-lint-golang.md2020-02-22 20:523.2KWe use the error returned by json.Unmarshal to build a more useful and complete error message, pointing at the exact spot with an arrow and everything.
middleware-em-golang.md2020-02-22 20:524.9KHow to share information between the HTTP middleware in your system using context.
middleware-usando-negroni.md2020-02-22 20:524.5KExamples of how to build middleware for your HTTP services, using the standard library and also the classic Negroni plus Gorilla mux combination.
goto-label-em-golang.md2026-08-28 14:053.7KHow to use goto and labels in Go with practical examples. How to apply break and continue safely and clearly, following good programming practices.
mensageria-com-nats-e-golang.md2020-02-22 20:521.7KNATS is a messaging system written in Go, very fast and easy to use. It connects systems, whether IoT, mobile applications, or anywhere you need high performance when exchanging messages.
protobuf-com-golang.md2026-08-28 14:057.9KFirst steps using Protocol Buffers with Go
json-parser.md2020-02-22 20:523.5KHow to teach the JSON parser to work with data in new formats
interface-contrato.md2026-08-28 14:053.4KTips on using interfaces in Go as a contract for structs
interface-vazia.md2022-09-09 01:435.7KTips on how to use the empty interface and the risks that come with it
json-golang.md2020-02-22 20:527.9KTutorial showing several ways to handle JSON using recursive functions and structs
dropbox-com-golang.md2021-06-10 00:193.2KA tutorial on how to access Dropbox and upload, download, and list files
compilacao-estatica-com-golang.md2022-09-09 01:372.1KHow to compile your Go code without any external dependencies
formas-que-uso-para-acessar-porta-serial.md2022-09-09 01:373.4KSome of the ways I use to access the serial port
go-brincando-com-bits.md2026-08-28 14:053.2KHow to manipulate bits using Golang
dicas-de-go-defer.md2026-08-28 14:053.1KDefer helps a lot, but it also carries some risk. Here are a few usage tips
index.xml--RSS feed

crg.eti.br · © 2026 Cesar Gimenes · CC BY 4.0 · github · rss · pt