[16] Results

Golang : Post data with url.Values{}

golang url-values post-data add-header

Just a short example on how to use url.Values{}. This code fragment is taken from previous tutorial on….... read more

Golang : Get final or effective URL with Request.URL example

golang final-url effective-url request-url

There are times when we query a web server, it will re-direct internally and returns back with a slightly different….... read more

Golang : Parsing or breaking down URL

golang url parse fragment

Golang provides an easy way to consume and parse URL. It has a very neat package ( http://golang.org/pkg/net/url.... read more

PHP : How to handle URI or URL with non-ASCII characters such as Chinese/Japanese/Korean(CJK) ?

cjk uri-segment url urldecode

This tutorial is for CodeIgniter, but it should work with any PHP framework or raw PHP.

While working with CodeIgniter,….... 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 : Proper way to set function argument default value

golang function-argument default-values function-parameters

In PHP, it is easy to specify the default values of a function arguments. All you need to do is….... read more

Golang : Format strings to SEO friendly URL example

golang seo-url regexp normalize unicode


You want to take a string and format it to SEO friendly URL. SEO friendly means no uppercase, underscore….... read more

Golang : How to validate URL the right way

golang validate-url govalidator is-url

Validating input from user or external sources is critical and needed to ensure that your program will not simply process….... read more