[57] Results

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 : Recombine chunked files example

golangrecombine-file split-file chunk big-file

Problem :

You use the previous tutorial on how to split or chunk a big file into smaller….... 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 : 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 : 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 : Read file with ioutil

golang read-file

This tutorial will show you how to read a file into buffer and display the content in Go. This example….... 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 : get the current working directory of a running program

golang executable file-path

Problem :

You are looking for way to get the folder/directory of the running program.

Solution :

Use https://bitbucket.org/kardianos/osext.... read more