How to resolve error : ” no buildable Go source files in “

Sometimes when we try to compile an unknown go package, we can see an error like “no … Read more

How to execute C code from go – c to golang binding ?

// If a Go source file imports “C”, it is using cgo. The Go file will have … Read more

Bitbake / Yocto recipes for cross compiling golang program

For compiling simple golang helloworld program as part of yocto build framework, we need to download meta-golang … Read more

How to use slices ( like dynamic array ) in go language ?

An array has a fixed size. A slice, on the other hand, is a dynamically-sized, flexible view … Read more

Arrays in Go language with Simple example

The below program initialises a static array of 7 elements and prints the values of each element … Read more