This article explains how the Red Hat Go Toolset enables applications to use OpenSSL as a cryptographic backend, allowing Go programs to operate in FIPS mode for compliance with federal security standards. It outlines the steps required to build and validate FIPS-capable Go applications on Red Hat Enterprise Linux, highlighting key configuration requirements and runtime checks for secure deployment.
https://developers.redhat.com/articles/2025/01/23/fips-mode-red-hat-go-toolset
https://developers.redhat.com/articles/2025/01/23/fips-mode-red-hat-go-toolset
Red Hat Developer
FIPS mode for Red Hat Go Toolset | Red Hat Developer
Red Hat Go Toolset includes modifications to allow applications to optionally use OpenSSL as a cryptographic backend instead of the standard Go crypto implementation. This approach replaces upstream
Generate HTML on the server side with TSX/JSX templates in Go
https://github.com/michal-laskowski/wax
https://github.com/michal-laskowski/wax
GitHub
GitHub - michal-laskowski/wax: Generate HTML on the server side with TSX/JSX templates in Go
Generate HTML on the server side with TSX/JSX templates in Go - michal-laskowski/wax
This blog post details how the author created native Go bindings for Apache OpenDAL-a Rust-based unified data access layer-without relying on CGo, by combining the purego library and libffi. The solution enables Go programs to call Rust (via C) functions directly, overcoming previous integration hurdles, simplifying cross-compilation, reducing binary sizes, and achieving better performance compared to traditional CGo-based bindings.
https://www.yuchanns.xyz/posts/bridging-rust-and-native-go/
https://www.yuchanns.xyz/posts/bridging-rust-and-native-go/
www.yuchanns.xyz
Bridging Rust and Native Go
Hello everyone, yuchanns here!
I recently built something interesting and want to share it with you: introducing OpenDAL as a native Go binding.
I recently built something interesting and want to share it with you: introducing OpenDAL as a native Go binding.
Fuzzy search Go packages/symbols and view docs from within Neovim
https://github.com/fredrikaverpil/godoc.nvim
https://github.com/fredrikaverpil/godoc.nvim
GitHub
GitHub - fredrikaverpil/godoc.nvim: Fuzzy search Go packages/symbols and view docs from within Neovim
Fuzzy search Go packages/symbols and view docs from within Neovim - fredrikaverpil/godoc.nvim
👍1
A simple tool to stream your media to android TV or chromecast device
https://github.com/vjerci/gochromecast
https://github.com/vjerci/gochromecast
GitHub
GitHub - vjerci/gochromecast: A simple tool to stream your media to android TV or chromecast device
A simple tool to stream your media to android TV or chromecast device - vjerci/gochromecast
This guide demonstrates how to deploy a server written in Go using GitLab CI/CD pipelines and Google Cloud, streamlining the process from code integration to scalable cloud deployment. By following the article, developers can automate building, containerizing, and launching Go applications on Google Cloud, leveraging modern DevOps practices for efficient and reliable releases.
https://about.gitlab.com/blog/2025/01/28/deploy-a-server-using-go-with-gitlab-google-cloud/
https://about.gitlab.com/blog/2025/01/28/deploy-a-server-using-go-with-gitlab-google-cloud/
about.gitlab.com
Deploy a server using Go with GitLab + Google Cloud
This tutorial shows how to use GitLab’s Google Cloud integration to deploy a Golang server in less than 10 minutes, helping developers become more independent and efficient.
Yet another Go REPL that works nicely. Featured with line editing, code completion, and more.
https://github.com/x-motemen/gore
https://github.com/x-motemen/gore
GitHub
GitHub - x-motemen/gore: Yet another Go REPL that works nicely. Featured with line editing, code completion, and more.
Yet another Go REPL that works nicely. Featured with line editing, code completion, and more. - GitHub - x-motemen/gore: Yet another Go REPL that works nicely. Featured with line editing, code co...
Go's new sync/test package introduces a set of tools for testing concurrent code, making it easier to catch subtle race conditions and concurrency bugs in your programs. This post on the Go Blog demonstrates how the package's deterministic scheduler and testing helpers can improve the reliability of your Go tests.
https://go.dev/blog/synctest
https://go.dev/blog/synctest
go.dev
Testing concurrent code with testing/synctest - The Go Programming Language
Go 1.24 contains an experimental package to aid in testing concurrent code.
👍3
Luca Vallin's guide explores how to achieve comprehensive observability in Go applications using OpenTelemetry, covering logs, metrics, and traces through a unified telemetry package. By abstracting away configuration and backend integration, the guide helps developers seamlessly add monitoring and debugging capabilities to their services.
https://www.lucavall.in/blog/opentelemetry-a-guide-to-observability-with-go
https://www.lucavall.in/blog/opentelemetry-a-guide-to-observability-with-go
Luca Cavallin
OpenTelemetry: A Guide to Observability with Go | Blog
Modern applications are often complex, distributed systems. Debugging them is not fun: you have to follow requests across services, logs get lost, and metrics are often hard to correlate. It's like looking for a needle in a haystack - except the haystack…
Wait4X allows you to wait for a port or a service to enter the requested state.
https://github.com/wait4x/wait4x
https://github.com/wait4x/wait4x
GitHub
GitHub - wait4x/wait4x: Wait4X allows you to wait for a port or a service to enter the requested state.
Wait4X allows you to wait for a port or a service to enter the requested state. - wait4x/wait4x
👍1
The Go Blog details how to export Go functions and values to JavaScript when compiling to WebAssembly, enabling seamless interoperability between Go and web applications. This tutorial walks through the new //go:wasmimport and //go:wasmexport directives, illustrating practical use cases for building richer browser-based experiences.
https://go.dev/blog/wasmexport
https://go.dev/blog/wasmexport
go.dev
Extensible Wasm Applications with Go - The Go Programming Language
Go 1.24 enhances WebAssembly capabilities with function export and reactor mode
Alex Edwards explains how Go 1.24's go tool directive streamlines the management of tool dependencies, replacing older approaches like tools.go files. This walkthrough demonstrates how the new system makes it easier to track, install, and update development tools alongside your Go modules.
https://www.alexedwards.net/blog/how-to-manage-tool-dependencies-in-go-1.24-plus
https://www.alexedwards.net/blog/how-to-manage-tool-dependencies-in-go-1.24-plus
www.alexedwards.net
How to manage tool dependencies in Go 1.24+ - Alex Edwards
Go's new SwissTable implementation brings a high-performance, memory-efficient hash map to the language's runtime. In this announcement, the Go team explains how adopting SwissTable improves map iteration speed, reduces memory usage, and enhances overall performance for Go developers.
https://go.dev/blog/swisstable
https://go.dev/blog/swisstable
go.dev
Faster Go maps with Swiss Tables - The Go Programming Language
Go 1.24 improves map performance with a brand new map implementation
Michael Stapelberg's walkthrough provides practical strategies for diagnosing and debugging hanging Go programs, from identifying goroutine leaks to using runtime profiling tools. The guide emphasizes reproducible techniques to help developers quickly pinpoint and resolve deadlocks or stalls in their code.
https://michael.stapelberg.ch/posts/2025-02-27-debug-hanging-go-programs/
https://michael.stapelberg.ch/posts/2025-02-27-debug-hanging-go-programs/
Michael Stapelberg
Tips to debug hanging Go programs
I was helping someone get my gokrazy/rsync implementation set up to synchronize RPKI data (used for securing BGP routing infrastructure), when we discovered that with the right invocation, my rsync receiver would just hang indefinitely.
This was a quick problem…
This was a quick problem…
❤1
This technical analysis by jub0bs investigates the performance cost of using Go's panic and recover mechanisms for error handling. By benchmarking real-world scenarios, the post reveals the significant overhead of panics and offers recommendations for when to use them judiciously.
https://jub0bs.com/posts/2025-02-28-cost-of-panic-recover/
https://jub0bs.com/posts/2025-02-28-cost-of-panic-recover/
Jub0Bs
The cost of Go's panic and recover
TL;DR ¶ Some of the wisdom contained in Josh Bloch’s Effective Java book is relevant to Go. panic and recover are best reserved for exceptional circumstances. Reliance on panic and recover can noticeably slow down execution, incurs heap allocations, and precludes…