[19] 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 : Find the longest line of text example

golang line-break word-wrap longest-line strings-split

Ability to find the longest find in a given text file can be useful in a situation where you want….... read more


Golang : Execute shell command

shell-command exec

A programming language will not be complete if there is no way for the developer to execute shell command. In….... read more


Golang : Read a file line by line

golang read-file line-by-line

Got another newbie to Golang asking me for help today on how to read a file line by line. The….... read more


Golang : Read a file into an array or slice example

golang read-file slice array line-by-line

Ok, got a junior developer that wants to know how to read a text file content line by line into….... read more


Golang : bufio.NewReader.ReadLine to read file line by line

golang bufio-newreader read-line

In the previous tutorial on how to read file line by line with bufio.NewScanner() example. The previous example….... read more


Unix/Linux : How to pipe/save output of a command to file?

linux unix save-output pipe-output-command

Problem :

You need to capture/pipe or save the output of a command execution in Unix/Linux to a file. How….... read more


Advertisement