gitlab.com/evatix-go/core@v1.3.55/simplewrap/WithSingleQuote.go (about)

     1  package simplewrap
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"gitlab.com/evatix-go/core/constants"
     7  )
     8  
     9  // WithSingleQuote ' + source + ' , also take care of any double if available next.
    10  func WithSingleQuote(source string) string {
    11  	return fmt.Sprintf(
    12  		constants.SprintSingleQuoteFormat,
    13  		source)
    14  }