func (*EnsureEntityMeta) Run(e, de *pb.Entity) error {
	if e.Meta == nil {
		e.Meta = &pb.EntityMeta{}
	}
	return nil
}
Run will apply an empty metadata struct if one is not already
present.
package hooks
import (
	"github.com/netauth/netauth/internal/startup"
	"github.com/netauth/netauth/internal/tree"
	pb "github.com/netauth/protocol"
)
type EnsureEntityMeta struct {
	tree.BaseHook
}