[44] Results

Mac/Linux and Golang : Fix bind: address already in use error

linux mac-os-x golang bind-address-in-use pid lsof...

Not really a tutorial. However, it is good to put this here as a guide for junior software developers.

.... read more


Golang : Embedded or data bundling example

golang bundle embedded-data bind-data

Golang complies your source code into a single executable file that allows your program end users to deploy the executable….... read more


Golang : Integer is between a range

golang minmax in-between-range integer

Problem:

You need to check if a given integer is in between a range of integer. How to do that?

.... read more


Golang : Get local IP and MAC address

golang mac-address network-hardware ip-address

This is a short program on how to get the local IP address, search for the correct network interface hardware….... read more


Golang : How to check if IP address is in range

golang ip-address

For security purpose, sometimes a server can only accept connection from clients that are trusted and of certain IP addresses.….... read more


Get client IP Address in Go

golang ip address

Knowing who is accessing your web server can be useful for tracking a user's activity. In this tutorial, we will learn how to get client….... read more


Golang : Sort words with first uppercase letter

golang sort-words uppercase map replace-element-in-slice tag

Problem:

You use the sort.Strings() function to sort a slice of words. However, you noticed that words with the first….... read more


Golang : Resolve domain name to IP4 and IP6 addresses.

golang net ip-address

In this short tutorial, we will learn how to resolve (find out) the IP, IP4 and maybe IP6 addresses for a domain name. Go's standard….... read more


Advertisement