// execWeldTpl returns the generated source of the template data.
execWeldTpl returns the generated source of the template data.
// execWeldTpl returns the generated source of the template data .
func execWeldTpl(data *TplData) ([]byte, error) {
	var buf bytes.Buffer
	err := weldTpl.Execute(&buf, data)
	if err != nil {
		return nil, err
	}
	imports.LocalPrefix = "bitx"
	src, err := imports.Process("weld_gen.go", buf.Bytes(), nil)
	if err != nil {
		return nil, err
	}
	src, err = format.Source(src)
	if err != nil {
		return nil, err
	}
	return src, nil
}
func execWeldTpl ( data * TplData ) ( [ ] byte , error ) { var buf bytes . Buffer err := weldTpl . Execute ( & buf , data ) if err != nil { return nil , err } imports . LocalPrefix = " " src , err := imports . Process ( " " , buf . Bytes ( ) , nil ) if err != nil { return nil , err } src , err = format . Source ( src ) if err != nil { return nil , err } return src , nil }
execWeldTpl returns the generated source of the template data.
execWeldTpl returns the generated source of the template data .