[37] Results

Transferring Google Authenticator to new phone

google-authenticator qr-code move-to-a-different-phone

Recently, my old smartphone is showing sign of age and it is time to upgrade to a new phone. Transferring….... read more


Golang : Get all countries phone codes

golang json-unmarshal-to-map countries-phone-codes iso

Continue from previous tutorial where we learn how to get all the currencies names, but this time it….... read more


Golang : Move file to another directory

golang move-file

So far, Go does not have a function to directly move file to different folders. We have to provide our….... read more


Golang : Calculate time different

golang time-different

Problem :

You are looking to calculate the days between two dates. How to do that in Golang?

Solution :

.... read more


Web : How to see your website from different countries?

web different-countries url

Problem :

You need to see(visually) how does your website looks like from different countries and you don't have multiple….... read more


Golang : Calculate future date with time.Add() function

golang time-different future-date

Problem :

You need to calculate future dates by number of days. This can be use in calculating expiring dates….... read more


Golang : minus time with Time.Add() or Time.AddDate() functions to calculate past date

golang time-different future-date past-date

Let's go back into history for this tutorial's sake. Somehow you have invented a time traveling device powered by Golang….... read more


Golang : How to log each HTTP request to your web server?

golang log-http-request save-log-to-file request-logger

Problem:

You want to log each HTTP request made to your web server complete with duration (start time - end….... read more


Advertisement