Open in app

Sign In

Write

Sign In

Aditya Rama
Aditya Rama

122 Followers

Home

About

Jan 12

Golang SQL Unit Testing

If You’re building any application using Go, there is high chance that you’ll be using database. Spesifically for SQL type database (Mysql, Postgre, etc), it’s very common for Golang developer to use Go SQL driver. …

Software Engineering

5 min read

Golang SQL Unit Testing
Golang SQL Unit Testing
Software Engineering

5 min read


May 22, 2022

Being Better — Be a Proactive Person

For those of you who have read “7 habits of highly effective people” by Stephen Covey, you should have already familiar this term, but for those of you who haven’t, then this reading is for you. I would like to share a quick materials why being a proactive person is…

Better Humans

2 min read

Being Better — Be a Proactive Person
Being Better — Be a Proactive Person
Better Humans

2 min read


Published in Nerd For Tech

·Jun 16, 2021

Redis — Getting Notified When a Key is Expired or Changed

Have you ever heard of Redis Keyspace Notifications? Probably most of you already familiar with redis and even use it on daily basis, but do you know we can get “notified” if there is a key change / expiration happen? What is this Keyspace Notifications? Long story short, it’s a pubsub mechanism that allows you…

Redis

5 min read

Redis — Getting Notified When a Key is Expired or Changed
Redis — Getting Notified When a Key is Expired or Changed
Redis

5 min read


Published in Towards Dev

·Jun 6, 2021

Increase Your Golang Processing “Power” Using Controlled Workerpool

This will be a short writing if you haven’t utilize the power of go routine to make your application process “faster”. …

Software Engineering

4 min read

Increase Your Golang Processing “Power” using Controlled Workerpool
Increase Your Golang Processing “Power” using Controlled Workerpool
Software Engineering

4 min read


Published in Nerd For Tech

·Apr 30, 2021

Multi Cron Job with “Distributed lock” using MYSQL

Several moments ago, I was wondering if we have multi cron job that are running same binaries, but we need to make sure that each job / task process is being ran only by one instance, is there a way to achieve that. I know this is weird, why do…

Software Engineering

4 min read

Multi Cron Job with “Distributed lock” using MYSQL
Multi Cron Job with “Distributed lock” using MYSQL
Software Engineering

4 min read


Apr 9, 2021

Health, Don’t Take Your Body for Granted

Usually i wrote something about software engineering / programming, but this one will be different. I would like to share a thing that happened in 2020 that enlightened and hit me differently. …

Health

6 min read

Health, Don’t Take Your Body for Granted
Health, Don’t Take Your Body for Granted
Health

6 min read


Apr 3, 2021

Several Fun Things to Know in Golang

There are several “fun things” that you need to know, this might help you to prevent going in pitfalls when writing golang program. These includes: Interface contains nil but not considered as nil Slice and Map are reference type Child Go routine and Parent Don’t use basic type string /…

Golang

4 min read

Several Fun Things to Know in Golang
Several Fun Things to Know in Golang
Golang

4 min read


Mar 14, 2021

Go Background Automatic Retry Function

Recently I created a simple Golang automatic “retrier” that will do automatic retry on our desired struct method with configurable maximum attempt. adityarama1210/retrier Simple, ready to use, suitable for writing / saving something in the background, fire and forget (Haven’t been developed…github.com Summarizing the automatic retrier flow there are several things that we need to implement: We need to create a struct that implements the “retriable” interface, which consist of…

Golang

3 min read

Go Background Automatic Retry Function
Go Background Automatic Retry Function
Golang

3 min read


Mar 11, 2021

Golang “Mocking” a Function for Unit Testing

Continuing our basic Golang unit testing example, we are going to continue on another step of simple function mocking for unit testing in Go. In here We’re only going cover this two “kind” of function: Function in your own package Function imported (from library or stuff) outside of your project …

Unit Testing

3 min read

Golang “Mocking” a Function for Unit Testing
Golang “Mocking” a Function for Unit Testing
Unit Testing

3 min read


Published in Nerd For Tech

·Feb 28, 2021

Golang Basic Unit Testing

In a nutshell basically you need to test the code you write to ensure you’re doing it right. If you have a function that add two numbers, you will expect the result to be sum of those two numbers, by writing the unit test, you make sure that when the…

Golang

6 min read

Golang Basic Unit Testing
Golang Basic Unit Testing
Golang

6 min read

Aditya Rama

Aditya Rama

122 Followers

Fellow Software Engineer

Following
  • fariz mamad

    fariz mamad

  • Kurnianto Trilaksono

    Kurnianto Trilaksono

  • Towards Dev

    Towards Dev

  • Tazki Anida Asrul

    Tazki Anida Asrul

  • Nicky Rolly

    Nicky Rolly

See all (10)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech