[33] Results

Golang : How to convert a number to words

golang translate-number-to-words convert-number

I need to translate a given number into words such as 100 to one hundred. The code below is a….... read more


Golang : Get timezone offset from date or timestamp

golang offset time-zone date-to-string

Problem :

You have a date or time stamp and you want get the time zone offset from the date.

.... read more


Golang : Gorilla web tool kit schema example

golang schema data-map-to-object gorilla

This is an example on how to use Gorilla web tool kit Schema package. The Schema package is….... read more


Golang : Word limiter example

golang slice-to-string word-limiter count-words

Problem:

You want to limit a string to X number of words. How to do that?

Solution:

Break the string….... read more


Golang : Get all countries currencies code in JSON format

golang json-unmarshal-to-map currencies-name iso

For this tutorial, we will learn how to get all the currencies names from http://country.io/currency.json and un-marshall them into a….... read more


Seoul Station. Undead re-animated.

seoul-station zombies walking-dead train-to-busan

Being a fan of The Walking Dead series, I always look forward to watch movies featuring zombies but….... read more


Golang : Turn string or text file into slice example

golang text-string convert-to-slice delete copy append

Alright, I need to parse a large number of text files that contain some raw data generated by a machine.….... read more


Golang : Find age or leap age from date of birth example

golang date-of-birth month-to-integer leap-year-age

Alright, here is a simple tutorial on how to calculate a person's age by a given date of birth string.….... read more


Advertisement