gitlab.com/evatix-go/core@v1.3.55/reqtype/RangesStrings.go (about)

     1  package reqtype
     2  
     3  func RangesStrings(requests ...Request) []string {
     4  	slice := make([]string, len(requests))
     5  
     6  	if len(requests) == 0 {
     7  		return slice
     8  	}
     9  
    10  	for i, request := range requests {
    11  		slice[i] = request.Name()
    12  	}
    13  
    14  	return slice
    15  }