wrote a template golang program