This guide shows you how to replace Make and Docker with just and podman - a leaner, daemonless toolchain for building and containerizing your projects. Learn the why, the how, and walk away with a complete Justfile migration example. Your workflow will thank you.
Secure your communications with GNU Privacy Guard (GPG). Discover key generation, encryption methods, and how to securely share public keys for safe messaging. Take control of your data privacy!
In part 3 of this series, we unlock the power of Dependency Injection in our Go application! We delve into structuring our code for greater flexibility and maintainability. Discover why rolling your own DI can be more beneficial than relying on frameworks.
Continuing from part 1, we are expanding our simple "Hello World" project by making it configurable. We introduce environment-based configuration along with .env files and the godotenv package. We then show how to automate loading our settings into structs with reflection and struct tags. Finally, we will cover splitting our configuration by concern for a cleaner, more scalable design.
Starting a Go project involves more than just running `go mod init [module-name]`. This article outlines essential steps to set a strong foundation for long-term success, including creating a repository, initializing your project, and following best practices. Learn to build and deploy effectively while avoiding common pitfalls, all while crafting a basic "Hello, World!" application. Whether you're a seasoned developer or new to Go, this guide will help you prepare for a smooth development journey. Dive in and set yourself up for success!