My folder structure is correct, i can both run go install from inside the package folder and from anywhere in the system, adding the package (folder) name after
go install
Well, as a first program, I used first line as package hello
Then it was creating "hello.a" under pkg folder. Moment I changed it to "package main", the executable was generated