You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: preset.go
    path of file: ./repos/gnomock/preset/memcached
    
    the code of the file until where you have to start completion: // Package memcached includes Memcached implementation of Gnomock Preset interface.
// This Preset can be passed to gnomock.Start
    
func (p *P) Options() []gnomock.Option {
	p.setDefaults()

	opts := []gnomock.Option{
		gnomock.WithHealthCheck(healthcheck),
	}

	if p.ByteValues != nil || p.Values != nil {
		initf := func(ctx context.Context, c *gnomock.Container) error {
			addr := c.Address(gnomock.DefaultPort)
			client := memcache.New(addr)

			if p.ByteValues != nil {
				for k, v := range p.ByteValues {
					err := client.Set(&memcache.Item{Key: k, Value: v, Expiration: 0})
					if err != nil {
						return fmt.Errorf("can't set '%s'='%v': %w", k, v, err)
					}
				}
			}

			if p.Values != nil {
				for k, v := range p.Values {
					err := client.Set(&memcache.Item{Key: k, Value: []byte(v), Expiration: 0})
					if err != nil {
						return fmt.Errorf("can't set '%s'='%v': %w", k, v, err)
					}
				}
			}

			return nil
		}

		opts = append(opts, gnomock.WithInit(initf))
	}

	return opts
}