func WriteFormattedFile(fileName string, model []byte) error {
	dest, err := imports.Process("", model, nil)
	if err != nil {
		return err
	}
	return Write(fileName, dest)
}
WriteFormattedFile formats the code with goimports and writes the result to
the given file, if file doesnt exists, it creates it
package utils
import (
	"bytes"
	"go/format"
	"os"
	"regexp"
	"strings"
	"golang.org/x/tools/imports"
)