func (i InsertType) String() string {
	if t, ok := insertTypeNames[i]; ok {
		return t
	}
	return "UNKNOWN"
}
String creates a string representation for the insert type.
package visitors
import (
	"errors"
	"fmt"
	"io/ioutil"
	"github.com/linuxboot/fiano/pkg/uefi"
)
type InsertType int
const (
	InsertFront InsertType = iota
	InsertEnd
	InsertAfter
	InsertBefore
	InsertDXE
	ReplaceFFS
)
var insertTypeNames = map[InsertType]string{
	InsertFront:  "insert_front",
	InsertEnd:    "insert_end",
	InsertAfter:  "insert_after",
	InsertBefore: "insert_before",
	InsertDXE:    "insert_dxe",
	ReplaceFFS:   "replace_ffs",
}