add two template tools for golang