Implement Go package creation using Go templates.