gitlab.com/evatix-go/core@v1.3.55/coretests/GetMessageToSortedArray.go (about)

     1  package coretests
     2  
     3  import (
     4  	"fmt"
     5  )
     6  
     7  func GetMessageToSortedArray(
     8  	isPrint bool,
     9  	isSort bool,
    10  	message string,
    11  ) []string {
    12  	if isPrint {
    13  		fmt.Println(message)
    14  	}
    15  
    16  	return GetTrimmedNonEmptySpaceSplit(
    17  		message,
    18  		isSort)
    19  }