BLOG

Latest Articles

Convert map to struct in Golang [4 Methods]

There are different methods to convert go map to struct, some of them are Using for loop, Using reflect package, Using json.Unmarshal() function, Using …

By admin · 4 min read · GO

Convert map to JSON in Golang? [4 Methods]

In golang there are couple of methods using which we can easily convert map to JSON, some of the methods are: Using json.Marshal() function, Using …

By admin · 3 min read · GO

How to set CPU Affinity in Golang? [SOLVED]

There are multiple methods to set CPU Affinity in golang such as using taskset, syscall package or you can use C library inside the GO code to use …

By admin · 5 min read · GO