[12] Results

Golang : Get and Set User-Agent examples

golang user-agent

Problem :

You want to detect User-Agent of your web application users and also setup your own User-Agent name for….... read more

Golang : How to determine if user agent is a mobile device example

golang robot crawler user-agent

With the increasing number of people accessing the Internet with mobile devices such as tablet or smart phone apart from….... read more

Golang : Check if user agent is a robot or crawler example

golang robot crawler user-agent


You need to determine if the user agent that visiting your web server is a bot/robot/crawler. You have tried….... read more

Golang : How to determine if request or crawl is from Google robots

golang crawlers robots web-request user-agent

For this tutorial, we will learn how to detect a visit by Google robots or web crawlers and learn how….... read more

Golang : How to get HTTP request header information?

golang json http-request-header user-agent

Alright, as a webmaster sometimes we want to know about our visitors and then alert us if there is any….... read more

Golang : Get all local users and print out their home directory, description and group id

golang home-directory os-user local-user-list

In this short tutorial, we will explore how to get a list of users from the local machine and iterate….... read more

Golang : How to get a user home directory path?

golang home-directory os-user lookup-username

Problem :

You need to get a user's home directory path in a Unix/Linux machine for storing or processing customized….... read more

Golang : Removes punctuation or defined delimiter from the user's input

golang remove punctuation delimeter user-input

Problem :

You need to clean up your user's input from punctuation or certain delimiter defined by you. For example,….... read more