[15] Results

Golang : Play .WAV file from command line

golang portaudio go-wave audio command-line

Problem:

You have recorded your voice on a .wav file with the previous tutorial on how to activate….... read more


Golang : Command line file upload program to server example

golang command-line-upload CreateFormFile mime-multipartFormDataContentType

Writing this tutorial for a friend who is using Golang to develop her IoT application. She needs a client program….... read more


Golang : Display a text file line by line with line number example

golang read-text-file line-by-line strings-split ioutil-readfile

Problem:

Instead of using cat or more commands to display a text file line by line. You want to display….... read more


Golang : Replace a parameter's value inside a configuration file example

golang update-file change-configuration replace-file-content-by-line

Alright, putting this here for my own future reference. In this tutorial, we will explore how to read in a….... 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 : Chunk split or divide a string into smaller chunk example

golang chunk-split line-break character-wrap rfc-2045

Problem:

You need a function in Golang that are similar to PHP's chunk_split() function that can split a string into….... read more


Golang : Warp text string by number of characters or runes example

golang line-break character-wrap rune-slice slice-character

Problem:

You have a long text string and you want to wrap the text according to a given number of….... read more


Advertisement