func (*SetEntityID) Run(e, de *pb.Entity) error {
	e.ID = de.ID
	return nil
}
Run copies the ID from de to e, no checks are enforced during the
copy.
package hooks
import (
	"github.com/netauth/netauth/internal/startup"
	"github.com/netauth/netauth/internal/tree"
	pb "github.com/netauth/protocol"
)
type SetEntityID struct {
	tree.BaseHook
}