MCPcopy Create free account
hub / github.com/GoDannyLai/binlog_rollback / StrSliceToString

Function StrSliceToString

comfuncs.go:44–46  ·  view source on GitHub ↗
(sArr []string, sep, prefix string)

Source from the content-addressed store, hash-verified

42}
43
44func StrSliceToString(sArr []string, sep, prefix string) string {
45 return prefix + " " + strings.Join(sArr, sep)
46}
47
48func CheckElementOfSliceStr(arr []string, element string, prefix string, ifExt bool) bool {
49 if sliceKits.ContainsString(arr, element) {

Callers 2

CheckElementOfSliceStrFunction · 0.85
ParseCmdOptionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected