[21] Results

Golang : Check whether a network interface is up on your machine

golang network-interface probe-status interface-by-name

Problem:

You have multiple network interfaces on your machine and you need to know the status of a particular network….... read more


Golang : How to get struct tag and use field name to retrieve data?

golangstruct-field struct-tag field-by-name

Problem :

A structure data field can have additional information or meta-data. This information is known as struct tag in….... read more


Golang : Fix type interface{} has no field or no methods and type assertions example

golang type-assertions interface map-string-interface

For new comers to Golang exploring interface{} for the first time or if you ever use interface{} to handle some….... 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 : Array mapping with Interface

golang interface map array

New comers to Golang often have slight difficulty understanding how interface works in Golang. This is a simple tutorial to….... read more


Golang : interface - when and where to use examples

golang interface unmarshal object-oriented

Question :

New comer to Golang will need to learn about interface eventually. So what exactly is interface? Where and….... read more


Golang : Get the IPv4 and IPv6 addresses for a specific network interface

golang network-interface IPv4 IPv6 security-reason

Problem:

You need to find the IP address of a specific network interface on your machine for developing your application.….... read more


Golang : Function as an argument type example

golang function-argument passing-values-by-parameters

When we need to invoke another function inside a.... let's say outer function, the typical way to do this is….... read more


Advertisement