[16] Results

Golang : Reverse IP address for reverse DNS lookup example

golang ip-address reverse-dns-lookup sort


You need to reverse a given IPv4 address into a DNS reverse record form to perform reverse….... read more

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

golang email dns-domain lookup dmarc spf


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

Golang : How to filter a map's elements for faster lookup

golang filter-element map lookup

A short tutorial on how to filter map elements. Map is a hash table equivalent in Golang and very useful….... read more

Golang : Sort and reverse sort a slice of integers

golang sort reverse-sort slice

Problem :

How to sort and reverse sort a slice of integers ?

Solution :

Use sort.Ints and sort.Sort functions.….... read more

Golang : How to reverse elements order in map ?

golang reverse-order element map

There is no built in function in Golang that allow you to reverse the elements order in a map, but….... read more

Golang : Reverse by word

golang reverse by-word

This tutorial will show you how to reverse the order of words in a string. Reversing the words or elements….... 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 : How to reverse slice or array elements order

golang reverse element order slicearray

In this short tutorial, we will learn how to reverse the elements order inside a slice or array. Taking the….... read more