func (opt byEntryOption) apply(o *lookupOptions) error {
	if o.key != nil {
		return ErrDuplicateOption
	}
	o.ent = &opt.Ent
	o.key = &o.ent.Keys[0]
	return nil
}
// apply simply applies the option.
apply simply applies the option.
// apply simply applies the option .
func (opt byEntryOption) apply(o *lookupOptions) error {
	if o.key != nil {
		return ErrDuplicateOption
	}
	o.ent = &opt.Ent
	o.key = &o.ent.Keys[0]
	return nil
}
func ( opt byEntryOption ) apply ( o * lookupOptions ) error { if o . key != nil { return ErrDuplicateOption } o . ent = & opt . Ent o . key = & o . ent . Keys [ 0 ] return nil }
apply simply applies the option.
apply simply applies the option .