code: func New(ctx context.Context, next http.Handler, config config.AddPrefix, name string) (http.Handler, error) {
  	middlewares.GetLogger(ctx, name, typeName).Debug("Creating middleware")
  	var result *addPrefix
  
  	if len(config.Prefix) > 0 {
  		result = &addPrefix{
  			prefix: config.Prefix,
  			next:   next,
  			name:   name,
  		}
  	} else {
  		return nil, fmt.Errorf("prefix cannot be empty")
  	}
  
  	return result, nil
  }
docs: // New creates a new handler.