gitlab.com/evatix-go/core@v1.3.55/coreimpl/enumimpl/toJsonName.go (about)

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