Tutorials
Golang : Trim everything onward after a word
Putting this simple example here for my own future reference. Basically, the problem that I'm trying to solve is to….... read more
Golang : package is not in GOROOT during compilation
Alright, just putting down here for my own future reference, in case of future encounter with this weird error message….... read more
Golang : How to solve "too many .rsrc sections" error?
Problem:
During go build
you encounter this error "too many .rsrc sections" and the compilation process stopped. What's going on?
Golang : Customize scanner.Scanner to treat dash as part of identifier
Putting this down here for my own future reference. Ok, the problem that I'm solving today involved using the text/scanner
….... read more
Golang : Experimental emojis or emoticons icons programming language
So, after I published my experimental Jawi programming language code on Facebook, someone asked me if it is possible….... read more
Golang : Experimental Jawi programming language
Alright, today is Sunday and I got some free time to spare. So, I used my free time to build….... read more
Golang : How to check if a website is served via HTTPS
Just a short program to check if a website has redirect to HTTPS(SSL) or not. What this program does is….... read more
Golang : Replace a parameter's value inside a configuration file example
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
Alright, here is a simple tutorial on how to remove certain lines of data from a file. There are times….... read more
Golang : How to search a list of records or data structures
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 extract video or image files from html source code
There are times when I need to download a certain video that I watched using browser and I need to….... read more
Golang : How to fix html/template : "somefile" is undefined error?
One of the most common mistakes when using html/template
package ExecuteTemplate()
function is forgetting to parse the HTML file first….... read more
Golang : What fmt.Println() can do and println() cannot do
A lot of rookies got confused on why their program is not working as intended when using println()
function. New….... read more
Golang : How to find out similarity between two strings with Jaro-Winkler Distance?
There are times when we need to detect if a paragraph or an article has a pattern of using multiple….... read more
Golang : How to capture return values from goroutines?
Got a question asked by a newbie on Facebook yesterday. Her question was how to capture the return values generated….... read more
Golang : How to write backslash in string?
Alright, below is a simple tutorial on how to write backslash in Golang. Nothing special, just writing it down here….... read more
Golang : Experimenting with the Rejang script
Someone informed me that I should take a look at the Rejang script(not to be confused with the .... read more
Golang : Example of how to detect which type of script a word belongs to
In one of my projects, I need to detect if a word that cannot be translated is of Arabic or….... read more