gitlab.com/evatix-go/core@v1.3.55/corecsv/CompileStringersToString.go (about)

     1  package corecsv
     2  
     3  import "strings"
     4  
     5  func CompileStringersToString(
     6  	joiner string,
     7  	isIncludeQuote,
     8  	isIncludeSingleQuote bool, // disable this will give double quote
     9  	compileStringerFunctions ...func() string,
    10  ) string {
    11  	slice := CompileStringersToCsvStrings(
    12  		isIncludeQuote,
    13  		isIncludeSingleQuote,
    14  		compileStringerFunctions...)
    15  
    16  	return strings.Join(slice, joiner)
    17  }