[60] Results

EncryptPad - Easy file editor with encryption

file-encryption encrypt-pad passphrase

There are times when I need to write down some secret stuff such as my AWS access key or passwords….... read more

Golang : How to remove certain lines from a file

golang remove-by-line file data-processing read-text-file

Alright, here is a simple tutorial on how to remove certain lines of data from a file. There are times….... read more

Golang : Process non-XML/JSON formatted ASCII text file example

golang raw-data-file non-XML non-JSON save-file


You have to process raw data files produced by third-party servers that you have no control over. The files….... read more

Golang : Download file example

golang download file

Continuing from previous tutorial on how to use http.Get() function, in this tutorial, we will learn how to….... read more

Golang : Check if a file exist or not

golangfile I/O

In this tutorial, we will see how to check if a file exist or not before performing further operation. checkfileexist.go package main import ( "fmt"….... read more

Golang : Write file with io.WriteString

golang write-file

Writing to a file in Golang is easy. There are couple of ways to do it. In this tutorial, we will show you how to….... read more

Get file path of temporary file in Go

golang temp-file filepath

There are time when we need to know the exact file path of a temporary file. This is a a short tutorial on how to….... read more

Golang : Read file and convert content to string

golang read-file ioutil

Problem :

You want to read a file content and convert the content into string.

Solution :

Read the file….... read more