labstack/echo

CreateExtractors method supports split delimiter

blackbeans opened this issue · 0 comments

Issue Description

CreateExtractors method supports split delimiter

func CreateExtractors(lookups string,delimiter string) ([]ValuesExtractor, error) {
	return createExtractors(lookups, "",delimiter)
}

func createExtractors(lookups string, authScheme string,delimiter string) ([]ValuesExtractor, error) {
	if lookups == "" {
		return nil, nil
	}

       //sources := strings.Split(lookups, ",")
      // instead of
       sources := strings.Split(lookups,delimiter)

### Version/commit