[16] Results

Golang : Encode image to base64 example

golang base64-string qr-code image

We will learn how to convert an image to base64 encoded string in this tutorial. Converting image data to base64….... read more

Transferring Google Authenticator to new phone

google-authenticator qr-code move-to-a-different-phone

Recently, my old smartphone is showing sign of age and it is time to upgrade to a new phone. Transferring….... read more

Golang : How to generate QR codes?

golang qr-codes generate png

In this short tutorial, we will learn how to generate QR codes with the https://godoc.org/code.google.com/p/rsc/qr package. QR codes….... read more

Golang : Dealing with postal or zip code example

golang octal postal-code zip-code padding-zero

Problem :

For some countries, the postal code or zip code starts with zero and this can be problematic for….... read more

Golang : How to generate Code 39 barcode?

golang barcode code-39 paste-image

Additional tutorial on how to use https://github.com/boombuler/barcode package to generate code 39 barcode. Code adapted from previous .... read more

Golang : Find relative luminance or color brightness

golang luminance brightness RGBA color-code


You need to find the relative luminance (brightness or perceived brightness) of a color to another color. You also….... read more

Golang : Gomobile init produce "iphoneos" cannot be located error

golang go-mobile x-code iphoneos

Problem :

Golang mobile packages provide support for mobile devices and build tools that allows Golang developers to….... read more

Golang : Intercept and compare HTTP response code example

golang http status-code

Problem :

You want to query a website and intercept the response code. You also want to compare the response….... read more