[19] Results

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 : Embedded or data bundling example

golang bundle embedded-data bind-data

Golang complies your source code into a single executable file that allows your program end users to deploy the executable….... read more

Golang : Use NLP to get sentences for each paragraph example

golang trade natural-language-processing nlp economic

Instead of reading ALL the news with human eyes to find out what's going on with the economy or market….... read more

Golang : How to detect if a sentence ends with a punctuation?

golang natural-language-processing punctuation-mark convert-string-to-rune

Problem : I need to detect if a line ends with a punctuation mark or not. How to do that?

.... read more

Golang : How to search a list of records or data structures

golang search-record data-structures world-cities-population

Got a newbie that asked me how to search a list of records(data structures) for specific item and below is….... read more

Golang : How to pipe input data to executing child process?

golang input-pipe input-data os-exec

Problem :

Your program is executing a child process via os/exec and you want to pipe input data to the….... read more

Protect your precious data with concrete USB drive

usb-drive concrete protect-data

Alright, let's enjoy life a little. I'm going to pivot my mind away from investing and programming for a while….... read more

Golang : Sort lines of text example

golang sort-lines unstructed-data slice

Here is an example of how to convert lines of text into a slice in Golang, sort them in descending….... read more