MCPcopy Create free account
hub / github.com/algolia/cli / SliceToString

Function SliceToString

pkg/utils/utils.go:75–77  ·  view source on GitHub ↗

Convert slice of string to comma separated string

(str []string)

Source from the content-addressed store, hash-verified

73
74// Convert slice of string to comma separated string
75func SliceToString(str []string) string {
76 return strings.Join(str, ", ")
77}
78
79// based on https://github.com/watson/ci-info/blob/HEAD/index.js
80func IsCI() bool {

Callers 2

TestSliceToStringFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestSliceToStringFunction · 0.68