Embedding files in Go using the "embed" package
A guide to using Go's new 'embed' package to include files and directories directly into application binaries, with practical examples.
Amit Saha is a Sydney-based software engineer, author, and open-source contributor who shares knowledge through articles, books, and conference talks. He contributes to major projects across Go, Python, Java, Rust, and cloud-native ecosystems.
112 articles from this blog
A guide to using Go's new 'embed' package to include files and directories directly into application binaries, with practical examples.
A guide to using Gatekeeper, a Kubernetes policy enforcement tool based on Open Policy Agent (OPA) and the Rego language.
A tutorial on creating and loading plugins in Go, demonstrating a driver program that chains two plugins to process data.
A technical guide explaining Kubernetes Pod Security Policies (PSP), their enforcement, and management using tools like kustomize.
A tutorial on setting up Fluent Bit as a DaemonSet to forward application and system logs from a Kubernetes cluster to Elasticsearch.
A technical guide on how to sort blog pages by their last modified date using the Hugo static site generator.
A guide to using Cloud Custodian, an open-source tool, for AWS compliance tasks like resource tagging and identifying unused resources.
Explains how to restrict attribute assignment in Python classes to prevent typos and enforce defined attributes, using a real-world example.
Explores tools and strategies for managing Kubernetes YAML manifests, focusing on reducing duplication and enforcing validation.
Explains the correlated error logging pattern for tracking errors across microservices using unique request IDs.
A developer shares their experience using Go for automating infrastructure and operations tasks, including cloud and API interactions.
Explains how Jenkins Docker Workflow plugin's inside() function works, including handling ENTRYPOINT issues and practical solutions.
A developer troubleshoots a failed deployment due to a Bash script not exiting early on errors, exploring solutions like `set -e` and `pipefail`.
A guide to managing user authentication and authorization for AWS EKS clusters using IAM roles and the aws-auth ConfigMap.
A collection of practical Go programming tips covering string formatting, maps, database queries, file operations, and struct reflection.
A technical guide on setting up an AWS EKS Kubernetes cluster using Terraform, covering IAM, security groups, and cluster configuration.
A technical guide on configuring Nginx to redirect non-www URLs to www for both HTTP and HTTPS, including example server blocks.
A technical guide exploring how Bash auto-completion works on Linux, including setup, DIY completion scripts, and underlying tools like compgen.
A technical guide covering PostgreSQL basics, including schemas, user/role management, and SQL commands for permissions.
A technical guide on using strace to debug Nginx request/response handling and log truncation issues in a logging pipeline.