Thoughts, tutorials, and insights on software development.
In the ever-evolving landscape of web development, safeguarding your Golang web application from malicious bots and automated attacks is paramount. Here is a middleware solution that takes bot protection to the next level.
In today's API-driven world, clear and concise documentation is essential. Apidoc is a Golang package designed with human-friendliness and versatility in mind, as a refreshing alternative to complex tools like OpenAPI.
A comprehensive guide to data security tokenization using Golang. Covers fundamentals, implementation, advanced techniques, best practices, and compliance requirements.
Data management in Golang can be a wild ride. Here is how the DataObject pattern brings order and clarity to your data domain with encapsulation, change tracking, and efficient serialization.
I had been working with Laravel for over 10 years. Here is my journey of migrating from Laravel to Golang for web development, including trying Rust, letting go of frameworks, and discovering HTMX.
Caddy is a great web server with automatic SSL and simple configuration. Here is how to reverse proxy a subdirectory path in Caddy using handle_path.
When integrating Stripe payments into your application you will need to use their API. Here are Golang functions to validate Stripe API keys without making direct API calls.
The usual working of Electron is with a single window. But Electron may also work with multiple windows. Here is how to achieve communication between them.
Postgres is a very good relational SQL database, but it does not come without its quirks. Here is how to fix the duplicate key value violates unique constraint error.
Installing the Windows Subsystem for Linux (WSL) on a non-system drive in Windows 10 and Windows 11 is quite painful. Here is a step by step guide.
Podman is an open source tool for container management that runs in daemonless mode. Here is a command to build and spin a Dockerfile with automatic clean up.
For the developers out there following the development of Podman you will know that there is no one line command available to install Podman on Ubuntu 20.04. However its very easy to install with the following procedure.