[21] Results

Golang : Query string with space symbol %20 in between

golang space-symbol url-query-escape

Problem :

You want to form URL that looks like this :

 https://example.com/query?keyword="golang lookup"

but your final….... read more

Golang : Get query string value on a POST request

golang query-string post-request

In this tutorial, we will learn how to configure your Golang web application(in HTTP handler) to accept query string input….... 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

Golang : Get escape characters \u form from unicode characters

golang escape-characters unicode utf8

Problem :

You want to get the escape characters (\u form) from unicode characters(utf-8). How to do that?

Solution :

.... read more

Golang : unknown escape sequence error

golang unknown-escape-sequence error

Encountered a funky error message unknown escape sequence while working this the tutorial on how to find IP….... 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

Golang : How to get URL port?

golang url parse splithostport

From the previous tutorial on how to break down a URL string, a reader emailed me wanting to….... read more