[11] Results

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 sub string example

golang get-sub-string

Getting sub string is a common task in extracting details from a larger set of information. Here is a quick….... read more


Swift : substringWithRange() function example

swift sub-string substringWithRange

A quick tutorial as add on from previous tutorial on how to get sub-string with rangeOfString() function. Another….... 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


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


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 : 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


Advertisement