[11] Results

Unix/Linux : secure copying between servers with SCP command examples

unix-linux scp secure-copy remote-server

Have to write this down in case I forget again and hope you may find these SCP examples useful too.

.... read more

Golang : Copy file

golang copy

Here’s an example to copy a file named “input.txt” to another file named “output.txt”. Copying files can be done in several ways in Go. The….... read more

Golang : Copy directory - including sub-directories and files

golang copy-directory

Another day, another tutorial....ok...we will learn how to copy all the content of the directory to another directory with Go. The copy process will perform….... read more

Golang : Secure(TLS) connection between server and client

golang client-server secure-connection listening tls

This is additional tutorial for the previous tutorial on creating simple client-server program with Golang. In this tutorial,….... read more

Golang : Copy map(hash table) example

golang copy-map


You have a map and you want to copy the elements to another map. How to do that ?

.... read more

Golang : Convert slice to array

golang slice array convert copy

For new comer to Golang, slice and array can be confusing sometimes. In a nutshell, a slice length(size) is flexible….... read more

Golang : Secure file deletion with wipe example

wipe-file secure-delete golang fill-slice-with-value


You are not sure if the file deleted by os.Remove() function is good enough to remove your data forever.….... 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