[20] Results

Golang : Extract or copy items from map based on value

golang extract-element map-subset copy-map

Problem:

You want to copy map or make a new map with subset or extract items from another map based….... read more


Golang : How to delete element(data) from map ?

golang delete element map

Problem :

You need to delete some elements from a map.

Such as:

cities := map[string]string{ "city1":"New York", "city2":"Adelaide"….... 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 : 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 : Extract unicode string from another unicode string example

golang string extract-unicode-characters

Problem:

You have a string with unicode (UTF-8) characters and you want to extract part of the string by using….... read more


Golang : Check if element exist in map

golang check-element map

Key based element search on a map is the most frequent method use to retrieve the associated value. However, there….... read more


Golang : Search and extract certain XML data example

golang xml newdecoder extract-attribute chardata

There are times when you want to just search for certain element in huge XML data set and extract the….... read more


Golang : How to extract links from web page ?

golang extract-links crawl-web-site parser

Golang's third party package goquery provides excellent tools to assist developers in building HTML parser/crawler. In this tutorial,….... read more


Advertisement