Tutorials

golang.pngGolang : How to remove certain lines from a file

8th April 2020

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



golang.pngGolang : How to search a list of records or data structures

4th March 2020

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



golang.pngGolang : How to extract video or image files from html source code

26th February 2020

There are times when I need to download a certain video that I watched using browser and I need to….... read more



golang.pngGolang : How to fix html/template : "somefile" is undefined error?

10th February 2020

One of the most common mistakes when using html/template package ExecuteTemplate() function is forgetting to parse the HTML file first.... read more



golang.pngGolang : What fmt.Println() can do and println() cannot do

3rd February 2020

A lot of rookies got confused on why their program is not working as intended when using println() function. New….... read more



golang.pngGolang : How to find out similarity between two strings with Jaro-Winkler Distance?

30th January 2020

There are times when we need to detect if a paragraph or an article has a pattern of using multiple….... read more



golang.pngGolang : How to capture return values from goroutines?

29th January 2020

Got a question asked by a newbie on Facebook yesterday. Her question was how to capture the return values generated….... read more



golang.pngGolang : How to write backslash in string?

29th January 2020

Alright, below is a simple tutorial on how to write backslash in Golang. Nothing special, just writing it down here….... read more



golang.pngGolang : Experimenting with the Rejang script

15th January 2020

Someone informed me that I should take a look at the Rejang script(not to be confused with the .... read more



golang.pngGolang : Example of how to detect which type of script a word belongs to

14th January 2020

In one of my projects, I need to detect if a word that cannot be translated is of Arabic or….... read more



golang.pngGolang : Converting individual Jawi alphabet to Rumi(Romanized) alphabet example

12th January 2020

Recently I've been busy enhancing my Jawi to Rumi converter and I found out that some Jawi words cannot….... read more



golang.pngGolang : How to detect if a sentence ends with a punctuation?

5th January 2020

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

.... read more



yum.jpgLinux : How to fix Brother HL-1110 printing blank page problem

12th December 2019

Alright, just a minor problem and putting down the solution here on how to fix the issue of Brother HL-1110….... read more



golang.pngGolang : How to pass map to html template and access the map's elements

3rd December 2019

For this tutorial, we will learn how to pass a map to text or html template and learn how to….... read more



golang.pngGolang : Executing and evaluating nested loop in html template

2nd December 2019

Alright, just a minor problem and putting the solution here on how to fix this problem for future reference. Basically,….... read more



golang.pngGolang : How to call function inside template with template.FuncMap

17th November 2019

Alright, just a simple tutorial on how to call your own function inside HTML template. For this example, we will….... read more



golang.pngGolang : Pagination with go-paginator configuration example

15th November 2019

Here is an example that you can use as reference on how to configure go-paginator properly. The snippets below….... read more



golang.pngGolang & Javascript : How to save cropped image to file on server

12th November 2019

While building my web application to manage my tenants and rental properties, I need a solution to capture the cropped….... read more



Advertisement