Yes, sometimes we are surprised by Golang standard library! There is no method on time package that helps you to set (update) the hour, minute,… Read More »How to Set Hour and Minute for a Golang Time
The standard time package in Golang has many helper functions that can help you when you dealing with time conversion. Unix() function accepts an integer… Read More »Golang: How to Parse Unix Timestamp to time Type
time package is your friend if you want to have different durations in golang! Duration has int64 type then you can multiply it with int64… Read More »How to Multiply a Duration by an Integer?
Do you want to measure the execution time of a piece of code in Golang? Yes, there is a very simple solution using the Since… Read More »Golang: Easy Way to Measuring Execution Time (Elapsed Time)