[41] Results

Golang : How to read integer value from standard input ?

golang read-integer standard-input

Reading integer value from standard input in Golang is fairly simple with fmt.Scanf function. The code below demonstrate how to….... read more


Golang : How to read float value from standard input ?

golang read-integer standard-input

This is a continuation from previous tutorial on how to read integer value from standard input. For this tutorial, we….... read more


Golang : Compound interest over time example

golang compound-interest formula read-float read-integer

It is time for me to do something "lighter" now.... such as investing rather than heavy duty programming ..... so….... read more


Golang : Find the length of big.Int variable example

golang big-integer length

There is a chance that you will ever need to get the length of big.Int variable and below is a….... read more


Golang : bufio.NewReader.ReadLine to read file line by line

golang bufio-newreader read-line

In the previous tutorial on how to read file line by line with bufio.NewScanner() example. The previous example….... read more


Golang : convert rune to integer value

golang rune integer

Just a short tutorial on how to convert a rune into integer. Converting rune to integer value can be useful….... read more


Golang : Read a text file and replace certain words

golang read replace

Problem :

You have a text file with some words that you need to replace with another word.

Solution :

.... read more


Golang : Convert int(year) to time.Time type

golang integer-time convert

Problem :

You have integer value such as a year and you want to convert the integer to time.Time type.….... read more


Advertisement