[12] Results

Golang : Use regular expression to validate domain name

golang hostname domain-name validate regexp

There are times when a user enter an invalid domain name as input and it is good to validate the….... read more


Golang : Listen and Serve on sub domain example

golang sub-domain servemux api

At this moment, Golang's ListenAndServer() is able to handle URL with such pattern

www.example.com/api

However, if….... read more


Golang : Handle sub domain with Gin

golang sub-domain gin api

Just a supplementary tutorial for the previous tutorial on how to deal with sub domain in Golang. In….... read more


Golang : Get IP addresses of a domain name

golang lookupip ip-address domain

This small program demonstrate how to Golang's net.LookupIP() function to get the IP addresses from a given domain….... read more


Golang : Get SPF and DMARC from email headers to fight spam

golang email dns-domain lookup dmarc spf

Problem:

You are building an email server with spam filter from scratch with Golang and you want to query a….... read more


Golang : Display list of countries and ISO codes

golang json-unmarshal-to-map countries-name iso

The code example below will download the JSON formatted data from http://country.io/names.json and unmarshal the data to display a list….... read more


Golang : Get host name or domain name from IP address

golang net network ip-address domain hostname

Thought this tutorial could be a good compliment to previous tutorial on how to find network of an….... read more


Find out the font name with WhatTheFont

fonts font-name what-the-font

Found this interesting online tool call WhatTheFont. Basically, it allows you to upload an image and tells you….... read more


Advertisement