Documentation
¶
Index ¶
- func DoubleQuoteWrapElements(inputSlice *[]string, isSkipQuoteOnlyOnExistence bool) (doubleQuoteWrappedItems *[]string)
- func With(start, end, source string) string
- func WithDoubleQuote(source string) string
- func WithPtr(start, end, source *string) *string
- func WithStartEnd(wrapper, source string) string
- func WithStartEndPtr(wrapper, source *string) *string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoubleQuoteWrapElements ¶ added in v0.4.1
func DoubleQuoteWrapElements( inputSlice *[]string, isSkipQuoteOnlyOnExistence bool, ) (doubleQuoteWrappedItems *[]string)
DoubleQuoteWrapElements Returns new empty slice if nil or empty slice given.
Reference : https://play.golang.org/p/s_uN2-ckk2F | https://stackoverflow.com/a/48832120
func WithDoubleQuote ¶ added in v0.4.1
WithDoubleQuote " + source + " , also take care of any double if available next.
func WithStartEnd ¶
WithStartEnd wrapper + source + wrapper
func WithStartEndPtr ¶
WithStartEndPtr wrapper + source + wrapper
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.