CATEGORY

GOLANG Solutions

How to pass parameters to function in GO [SOLVED]

In this tutorial we covered different scenarios to pass parameters to golang function. Pass int, string, float as parameter or pass map and channel as parameter …

By admin · 5 min read · GOLANG Solutions

Is golang tuple possible? [SOLVED]

By design golang tuple is not possible but we can work around this by using interfaces and generics.

By tuannguyen · 4 min read · GOLANG Solutions

Check if Key Exists in GO Map [6 Proven Methods]

We will explore following methods to check if key exists in map in golang. terate over map elements and look out for the key, Using index expression, Perform a …

By tuannguyen · 12 min read · GOLANG Solutions