[11] Results

Golang : Build and compile multiple source files

golang bin compile-multiple-files workspaces

One of the many challenges for new comers to Golang is to learn how to use go install command to….... read more

Golang : Return multiple values from function

golang return-multiple-values function

One of the features that I like about Golang is the ability to return multiple values from a function (Python….... read more

Golang : Write multiple lines or divide string into multiple lines

golang multiple-lines divide-string

Problem :

You have a long string and you need to divide the string into multiple lines. How to do….... read more

Upload multiple files with Go

upload-multiple golang

Uploading multiple files to Go server can be done easily as well. All you need to do is to parse the multiform data and loop….... read more

Golang : Validate hostname

golang validate hostname regular-expression regexp compile

Problem :

You need to validate if a given string is a valid hostname or not. Hostnames such as :

.... read more

Golang : Fixing Gorilla mux http.FileServer() 404 problem

golang gorilla mux pathprefix static-files

I'm in the process of developing a web application to handle my landlord to tenants relationships in a better way….... read more

Android Studio : Import third-party library or package into Gradle Scripts

android-studio import-library gradle-scripts compile java

A note for Android Studio beginner like myself. Encounter an instruction on Github on how to import a third-party library….... read more

Golang : Normalize email to prevent multiple signups example

golang normalize-email govalidator multiple-signups

If your application allows the public to sign up, chances are your application will attract the "unkind" types and they….... read more