gitlab.com/evatix-go/core@v1.3.55/simplewrap/WithDoubleQuoteAny.go (about) 1 package simplewrap 2 3 import ( 4 "fmt" 5 6 "gitlab.com/evatix-go/core/constants" 7 ) 8 9 // WithDoubleQuoteAny 10 // 11 // Alias for ToJsonName 12 // 13 // " + source + " , also take care of any double if available next. 14 func WithDoubleQuoteAny(source interface{}) string { 15 return fmt.Sprintf( 16 constants.SprintValueDoubleQuotationFormat, 17 source) 18 }