How to Optimize Go Programs for Maximum Performance?

Dear @vivek101 ,

As you are new to Golang, the first step you should do is to learn the syntax, if possible perfectly. Then the second step is to write as much code as you can, just to practice it. The third step is to write as many small applications, of diverse types, using Golang and additional libraries. The fourth step is to write as many medium size applications, to study various architectures in Golang.

After you have done these 4 steps (at best several months from now, if not years) then you can realistically start worrying about optimizations. I am not trying to lower your enthusiams, but you need to first do the ground work.