func (im *InceptionMain) renderTpl(f *os.File, t *template.Template, tc *templateCtx) error { err := t.Execute(f, tc) if err != nil { return err } return shared.GoFmt(f.Name()) }
func (this *FileInfo) Print(filepath string) error { err := this.print(filepath) if err == nil { err = shared.GoFmt(filepath) } return err }