Recursive blog post or Github Codespaces
Flexible Env in Go V2
lalabuy948/genvutils
Motivation
As you probably saw my founding of two nice libraries that allow you beauty and easy abstraction on dot and just environment variables. You can check it there
After some time I decided to create another open-source library for the world and I merged the functionality of packages which you can find in the article above. I started from scratch and you are more than welcome to have look on it on my GitHub -> github.com/lalabuy948/genvutils
https://typ.life
r/mk
Due to quarantine, I had to set up my first home office. I never had anything at home except a laptop, because I can work anywhere, like in the office, cafe, park but not at ducking home. I have no idea how people can concentrate and don’t open the fridge every five minutes… So, I had to suffer… And I decided to adapt my small cabinet to trick my brain that I’m sitting in the office. I got a monitor, mouse, and vertical laptop holder to save someplace. Keyboard right? That’s how I found r/mk… I got hooked into that within my head.
Hashicorp Vault as Environment Manager
How to use Hashicorp Vault as dot environment manager?
I decided to share this because I was looking for small, simple and easy to use tool where I would store dotenv secrets for my apps. And I found this nice and elegant solution which will allow you to control your application secrets with small bash script. 🙂
Pre Requirements
- Installed vault
- Finish setup instructions
You can find nicely described steps here: Getting started
Testing Mailer in Go
Forewords
I needed a way to test mail confirmation. When you are dealing with deb authentication you would like to be sure that this email exist. And usually I use is_email_confirmed column next to user credentials in the database table. Once user hits siging endpoint as last step I send an email with confirmation token.
I was looking on few popular tools across the Internet:
What I found
My requirements were: run in docker, easy to config, basic functionality to render email. All things above quite heavy apps with complex configuration. After that I found found nice and lightweight way how to test it locally.