[65] Results

Linux/MacOSX : Search and delete files by extension

linux mac-os-x delete-file by-extension

Continuing from previous tutorial on how to search for files by extension with find command. For this post,….... 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 : Delete file

golang delete

Deleting file in Go is simple. This short tutorial will demonstrate how to delete a file. Let choose a file deleteme.file as target practice and….... read more

Golang : Delete files by extension

golang delete

Being able to select certain type of files to delete can be useful. In this follow up tutorial from Golang : Delete file, we are….... read more

Golang : How to delete element(data) from map ?

golang delete element map

Problem :

You need to delete some elements from a map.

Such as:

cities := map[string]string{ "city1":"New York", "city2":"Adelaide"….... read more

Delete a directory in Go

golang delete-directory

A simple tutorial on how to delete a directory in Go. This tutorial is a respond to this solution which is not the recommended way.….... read more

Golang : Delete certain files in a directory

golang delete directory

Encounter a situation today where I need to delete some files in a directory. Not all files, but some files….... read more

Golang : Delete item from slice based on index/key position

golang delete-element slice array append

Problem :

You want to delete an element from a slice or array and you know the index(position number) of….... read more