[28] Results

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 : convert string or integer to big.Int type

golang math-big-int string-to-integer setstring

Problem :

You have a big integer number in string format and you want to convert(cast) it to big.Int type.….... 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 : 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

Golang : How to split or chunking a file to smaller pieces?

golang split-file chunk big-file

Problem :

You have a big file and you want to split / chunk the file into smaller pieces. How….... read more

Golang : Upload big file (larger than 100MB) to AWS S3 with multipart upload

golang upload-big-file AWS s3 objects

At my previous tutorial on uploading file to Amazon Web Services S3, a reader asked if the method….... read more

Golang : How to determine a prime number?

golang prime-number big-int cryto-rand

In mathematics and computer security, it is very important to determine if a given number is a prime number or….... read more

Golang : Convert integer to binary, octal, hexadecimal and back to integer

golang hexadecimal binary octal integer

Converting integers to binary, octal and hexadecimal is fairly common in programming life. Ported these simple functions from Python to….... read more