[89] Results

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 : Gin framework accept query string by post request example

golang gin query-string post-request

Golang's standard net/http package has excellent and sufficient functions to handle web applications such as a micro service or API….... read more

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 : Create unique title slugs example

golang title-slug database-query seo regular-expression

A simple example on how to create title slug from a string and also demonstrate what you can do in….... read more

Golang : How to check for empty array string or string?

golang string check-empty-string string-array

Sometimes that most obvious thing can be the hardest to remember. Putting this down as a note for myself and….... read more

Golang : How to get quoted string into another string?

golang quoted-string appendquote string

Problem :

You have a string and you want to join it with another string which is quoted. Somehow, you….... read more

Golang : Increment string example

golang increment-string suffix string


You need to create "copies" of a file, prevent user from overwriting files accidentally or need duplicate database content….... read more

Swift : Get substring with rangeOfString() function example

swift sub-string range-of-string

Problem :

You have a string and you want to get(extract) the sub string from start to {0} and from….... read more