[9] Results

Golang : Clean up null characters from input data

golang remove-null bytes trim

Problem :

You have input data in slice of bytes and you want to remove the null characters in the….... read more


Golang : Null and nil value

golang null nil

Programmers coming from different programming languages to Golang might wonder how does one deal with NULL values. I put down….... read more


Golang : Send data to /dev/null a.k.a blackhole with ioutil.Discard

golang dev-nullioutil-discard blackhole logfile

In Unix/Linux system administration, there are times when the system administrator needs to reduce the size of a file to….... read more


Golang : Remove dashes(or any character) from string

golang remove-dash strings-replace

Problem :

You have a string with dashes in between and you want to remove all the dashes. How to….... read more


Golang : How to validate ISBN?

golang isbn validate-ISBN remove-dash

This tutorial will show you an example on how to validate ISBN with the govalidator package and then get the….... read more


Golang : Removes punctuation or defined delimiter from the user's input

golang remove punctuation delimeter user-input

Problem :

You need to clean up your user's input from punctuation or certain delimiter defined by you. For example,….... read more


Golang : Get all upper case or lower case characters from string example

golang string upper lower remove-delimiterunicode-islower

Problem:

You have a string and you want to get all the uppercase characters in the string. For example, you….... 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


Advertisement